■
少しの修正で直った。何かのミスだったんじゃないかな。
diff --git a/QMA/QMAWindow.h b/QMA/QMAWindow.h index 3827093..68499dd 100644 --- a/QMA/QMAWindow.h +++ b/QMA/QMAWindow.h @@ -57,8 +57,8 @@ public: QMAApplication(int &argc, char **argv, bool GUIenabled) : QApplication(argc, argv, GUIenabled) {} QMAApplication(int &argc, char **argv, Type type) : QApplication(argc, argv, type) {} #if defined(Q_WS_X11) - QApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0) : QApplication(dpy, visual, cmap) {} - QApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0) : QApplication(dpy, argc, argv, visual, cmap) {} + QMAApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0) : QApplication(dpy, visual, cmap) {} + QMAApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0) : QApplication(dpy, argc, argv, visual, cmap) {} #endif signals: