Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on X11 #12

Closed
iRi-E opened this issue May 16, 2011 · 0 comments
Closed

Build fails on X11 #12

iRi-E opened this issue May 16, 2011 · 0 comments

Comments

@iRi-E
Copy link

iRi-E commented May 16, 2011

X11 build fails for typos in the constructors of QMAApplication class. Please apply the following patch.

--- 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:
@hkrn hkrn closed this as completed Dec 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants