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

default qmlproject file contains error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QDS 4.2
    • QDS 4.1
    • Buildsystem, MCU support
    • None

    Description

      I'm using Windows 11 with the QDS installed with qt-designstudio-windows-x64-4.1.0_723.exe.

      <steps to reproduce>

      • create an MCU project on QDS 4.1.0 snapshot 723
      • register the Qt for MCUs 2.4.0 SDK
      • set the Kit as Desktop 6.5.1(Thomas told me not to use MCU kit somehow and use Qt 6.5 kit instead)
      • run the app without modifying anything by clicking the play button

      After the steps above, I got this error.

      19:32:48: Running steps for project UntitledProject5...
      19:32:48: Starting: "C:\Qt\QtMCUs\2.4.0\bin\qmlprojectexporter.exe" C:/Users/81808/work/Study/QDS/UntitledProject5/UntitledProject5.qmlproject --platform qt --toolchain mingw --include-dirs "C:/Qt/QtMCUs/2.4.0/include/qul,C:/Qt/QtMCUs/2.4.0/include/qul/Timeline" --outdir C:/Users/81808/AppData/Local/Temp/QtDesignStudio-RdgKlz
      [qmlprojectexporter] warning: Problem during load of qmlproject file
      [qmlprojectexporter] C:/Users/81808/work/Study/QDS/UntitledProject5/UntitledProject5.qmlproject:9:5: warning: It is not recommended to use the 'directory' property. The build system might not be able to correctly track the contents of the directory, so always clean and rebuild whenever adding or removing files. Additionally, every file present in the directory at configure time will be added to the application binary, which might increase the memory footprint. Prefer explicit inclusion of the needed files using the 'files' property to avoid these issues.
          QmlFiles {
          ^~~~~~~~
      [qmlprojectexporter] C:/Users/81808/work/Study/QDS/UntitledProject5/UntitledProject5.qmlproject:17:5: warning: It is not recommended to use the 'directory' property. The build system might not be able to correctly track the contents of the directory, so always clean and rebuild whenever adding or removing files. Additionally, every file present in the directory at configure time will be added to the application binary, which might increase the memory footprint. Prefer explicit inclusion of the needed files using the 'files' property to avoid these issues.
          ImageFiles {
          ^~~~~~~~~~
      [qmlprojectexporter] error: Problem during load of qmlproject file
      [qmlprojectexporter] C:/Users/81808/work/Study/QDS/UntitledProject5/UntitledProject5.qmlproject:58:19: error: quickVersion property was not found!
          quickVersion: "6.5"
                        ^~~~~
      [qmlprojectexporter] C:/Users/81808/work/Study/QDS/UntitledProject5/UntitledProject5.qmlproject:55:17: error: qt6Project property was not found!
          qt6Project: true
                      ^~~~
      [qmlprojectexporter] C:/Users/81808/work/Study/QDS/UntitledProject5/UntitledProject5.qmlproject:57:17: error: qdsVersion property was not found!
          qdsVersion: "4.1"
                      ^~~~~
      19:32:49: The process "C:\Qt\QtMCUs\2.4.0\bin\qmlprojectexporter.exe" exited with code 1.
      Error while building/deploying project UntitledProject5 (kit: Desktop Qt 6.5.1)
      The kit Desktop Qt 6.5.1 has configuration issues which might be the root cause for this problem.
      When executing step "Qt4MCU Deploy Step"
      19:32:49: Elapsed time: 00:01. 

      Here is my kit.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              yasser Yasser Grimes
              mikio_hirai Mikio Hirai
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes