Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-52439

New Qt5 signal/slot syntax not working with Intel Compiler 16

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 2
    • 5.6.0
    • Core: Object Model
    • 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.

      Attachments

        1. QTBUG-52439.tgz
          2 kB
        2. QTBUG-52439-c++11.tgz
          1.20 MB
        3. dockwidgets.log
          3 kB
        4. icc-bsymbolic-test.tar.gz
          0.8 kB

        Activity

          People

            thiago Thiago Macieira
            xburgerhout Xander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: