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

Cannot create QML_SINGLETON class with newer gcc versions

XMLWordPrintable

    • fa2d761e6f (qt/tqtc-qtdeclarative/5.15)

      Build attached project and try to run the plugin through ldd -r. It reports undefined symbol _ZN11QQmlPrivate12ConstructorsI6MyItemLb1EE23createSingletonInstanceE.

      Same example works fine with gcc 5, but gcc 12.2 at least it produces this. Also this does not seem to happen in Qt 6.

        For Gerrit Dashboard: QTBUG-106377
        # Subject Branch Project Status CR V

            sami.shalayel Sami Shalayel
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes