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

QML singletons error without manually creating qmldir file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8.1
    • 6.8.0
    • QML: Tooling
    • None
    • Windows 10 x64
    • Windows

      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.

       

        1. cmakefile-1.PNG
          cmakefile-1.PNG
          20 kB
        2. myThemeQML-1.PNG
          myThemeQML-1.PNG
          14 kB
        3. usingSingletonProperty-1.PNG
          usingSingletonProperty-1.PNG
          8 kB
        4. warning-1.PNG
          warning-1.PNG
          8 kB
        5. MyPureQtTheme.zip
          40 kB
        6. after change.PNG
          after change.PNG
          26 kB
        7. after checked qmlls.png
          after checked qmlls.png
          45 kB
        8. warnings after change.PNG
          warnings after change.PNG
          9 kB
        9. intellisanse not recognise property if use ternary operator.PNG
          intellisanse not recognise property if use ternary operator.PNG
          40 kB
        For Gerrit Dashboard: QTBUG-129991
        # Subject Branch Project Status CR V

            sami.shalayel Sami Shalayel
            mv-whw Miran Visner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes