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. 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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            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