Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10428

Having file names in QmlFiles.files create files in the left column even though there is no such file exists

    XMLWordPrintable

Details

    • All

    Description

      Having a file name in QmlFiles.files shows the file name on the left even though the file with the name doesn't exist. The example below shows the symptom that BaseGauge.qml is showing on the left despite that it doesn't exist. 

       

      When user clicks on the showing file name on the left, QDS shows an error, because of the obvious reasion: the file doesn't exist.

      I'd tested this with both Qt for MCUs project and standard Qt project. The former shows a behavior described above but in latter if there's a code like this in .qmlproject the configuration itself failed and nothing showed up on the left. I think the behavior of the MCU projects should follow the same as the standard Qt.

      //test.qmlproejct in statndard Qt project 
      QmlFiles {
          files ["Hello.qml"] // <-- Hello.qml doesn't exist
      }
       

      Attachments

        Issue Links

          Activity

            People

              hancerliqt Burak Hancerli
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: