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

Cannot create QML_SINGLETON class with newer gcc versions

    XMLWordPrintable

Details

    • fa2d761e6f (qt/tqtc-qtdeclarative/5.15)

    Description

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes