Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
51dafeda8c833134acf7da40f7ad58cec349ee30
Description
The new style signal/slots seem to be broken i.c.w. the intel 16 compiler.
The issue can be observed in a.o the widgets examples shipped with qt. For example, running examples/widgets/mainwindows/dockwidgets results in the following messages:
QObject::connect: signal not found in QAction QObject::connect: signal not found in QAction QObject::connect: signal not found in QAction QObject::connect: signal not found in QAction QObject::connect: signal not found in QAction QObject::connect: signal not found in QAction QObject::connect: signal not found in QAction QObject::connect: signal not found in QListWidget QObject::connect: signal not found in QListWidget
Qt was configured as follows:
configure -platform linux-icc -commercial -confirm-license -c++std c++98 \ -skip qtquickcontrols2 -skip qt3d -skip qtwayland \ -skip qtserialbus -qt-xcb -no-pch -no-dbus
Issues QTBUG-48286 and QTBUG-40281 look related.
After some investigation, I rebuilt Qt and added the -no-reduce-relocations configuration flag. This seems to workaround the issue. Apparently, the -Bsymbolic and/or -Bsymbolic_functions flags are not added when the -no-reduce-relocations configure flag is specified.
It's not clear to me if this is a compiler issue or not. If it is, it would still be nice if the Qt configure process opts for the -no-reduce-relocations option by default for broken compilers.