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

Prototype Cycle when building into the root of an mcu project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • QDS 4.8.0
    • QDS 4.8.0
    • Project Storage
    • None
    • QDS Berlin - 2025 Week 39/40

      When building into the root directory of an mcu project DS refuses to preview the project in the form editor.

      To reproduce:

      1) Create a default project and close DS

      2) Create build files int the root directory of the project:
      cd into the project and issue the command:
      qmlprojectexporter ProjectName.qmlproject -O ./build --project-type cmake --platform qt --toolchain clang --generate-entrypoint 

      3) cd into the build dir and compile with cmake
      4) Open the project in DS

      Result:
      The Formeditor fails to render the project.
      When deleting the build directory DS behaves normal again.

      Note that there is a suspicious debug log when running DS from the commandline:
      .../qtcreator/src/plugins/qmldesigner/libs/designercore/projectstorage/projectstorage.cpp:operator():4360: There is a prototype chain cycle!

      Alternatively opening the attached project in DS may provoke the issue already.

        1. CrashWhenBuildingInRoot.zip
          3.83 MB
          Knud Dollereder
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bubke Marco Bubke
            knud Knud Dollereder
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes