Re: /usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libQxtWidgets-qt5.so: undefined reference to `vtable for QxtApplication'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux