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

QML singletons error without manually creating qmldir file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.1
    • 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
          26 kB
          Miran Visner
        2. after checked qmlls.png
          45 kB
          Miran Visner
        3. cmakefile-1.PNG
          20 kB
          Miran Visner
        4. intellisanse not recognise property if use ternary operator.PNG
          40 kB
          Miran Visner
        5. MyPureQtTheme.zip
          40 kB
          Miran Visner
        6. myThemeQML-1.PNG
          14 kB
          Miran Visner
        7. usingSingletonProperty-1.PNG
          8 kB
          Miran Visner
        8. warning-1.PNG
          8 kB
          Miran Visner
        9. warnings after change.PNG
          9 kB
          Miran Visner

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes