In the directory src/widgets there is a file widgets.pri (which is included by 
widgets.pro)
At line 124 it checks for pre Qt5 and then adds qxtapplication.h to the headers 
list. Hence for Qt5 it is not pre-processed by moc.

I have moved line 125: HEADERS += qxtapplication.h to after line 130: } 

--- a/src/widgets/widgets.pri.orig      2017-11-30 08:31:04.069021373 +0100
+++ b/src/widgets/widgets.pri   2017-11-30 08:31:31.692021595 +0100
@@ -122,12 +122,12 @@
     # Native event filter support is implemented in QCoreApplication for Qt5
     # and QxtApplication is not required anymore
 lessThan(QT_MAJOR_VERSION, 5) {
-    HEADERS  += qxtapplication.h
     HEADERS  += qxtapplication_p.h
     unix:!macx:SOURCES += x11/qxtapplication_x11.cpp
     macx:SOURCES += mac/qxtapplication_mac.cpp
     win32:SOURCES += win/qxtapplication_win.cpp
 }
+    HEADERS  += qxtapplication.h
     HEADERS  += qxtglobalshortcut.h
     HEADERS  += qxtglobalshortcut_p.h
     HEADERS  += qxtscreen.h
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to