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

QML singletons error without manually creating qmldir file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.8
    • 6.8.0
    • QML: Tooling
    • None
    • Windows 10 x64
    • Windows

    Description

      when creating qml singleton file, that, isn't recognized propertly in Qt 6.8.0. editor shows warnings, fix for that is manually creating qmldir file. even with that fix, properties inside singleton file isn't seen in intellisense sugestion when you want to use it. before i used Qt 6.7.0 and everything worked right. i tested this only on Windows 10, with Qt Creator 14.0.2, so i cannot say if this bug exists on others systems too.

       

      Attachments

        1. after change.PNG
          after change.PNG
          26 kB
        2. after checked qmlls.png
          after checked qmlls.png
          45 kB
        3. cmakefile-1.PNG
          cmakefile-1.PNG
          20 kB
        4. MyPureQtTheme.zip
          40 kB
        5. myThemeQML-1.PNG
          myThemeQML-1.PNG
          14 kB
        6. usingSingletonProperty-1.PNG
          usingSingletonProperty-1.PNG
          8 kB
        7. warning-1.PNG
          warning-1.PNG
          8 kB
        8. warnings after change.PNG
          warnings after change.PNG
          9 kB

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              mv-whw Miran Visner
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change