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

cannot run the project on QC which is created from QDS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • QDS 4.1
    • MCU support
    • None

    Description

      Please see the attached reproducible demo, I Got the below error

      [qmlprojectexporter] warning: Problem during load of qmlproject file[qmlprojectexporter] C:/works/temp/All_MCU/AssetPathTest/AssetPathTest.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:/works/temp/All_MCU/AssetPathTest/AssetPathTest.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:/works/temp/All_MCU/AssetPathTest/AssetPathTest.qmlproject:57:17: error: qdsVersion property was not found!    qdsVersion: "4.1"
                      ^~~~~[qmlprojectexporter] C:/works/temp/All_MCU/AssetPathTest/AssetPathTest.qmlproject:55:17: error: qt6Project property was not found!    qt6Project: true
                      ^~~~[qmlprojectexporter] C:/works/temp/All_MCU/AssetPathTest/AssetPathTest.qmlproject:58:19: error: quickVersion property was not found!    quickVersion: "6.5"
                        ^~~~~CMake Error at C:/Qt/QtMCUs/2.4.0/lib/cmake/Qul/QulMacros.cmake:556 (message):  qmlprojectexporter failed while processing  C:/works/temp/All_MCU/AssetPathTest/AssetPathTest.qmlproject: 1Call Stack (most recent call first):  C:/Qt/QtMCUs/2.4.0/lib/cmake/Qul/QulMacros.cmake:2474 (qul_private_target_set_qmlproject)  CMakeLists.txt:10 (qul_add_target)
       

      Attachments

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              jiu shanheng jiu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes