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

Adding UI elements into Qt Creator project from QDS breaks build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • QDS 3.6
    • MCU support
    • None
    • Windows, Linux
    • Linux/X11

    Description

      Using QDS 3.6.0 and QC 8.0 we observed the following:

      1. Create a new Qt for MCU project for STM32H750 in Qt Creator
        1. a new "Hello World" project is created.
        2. Desktop 32 bpp is used for build. It builds and runs as expected.
      1. Go into QDS and add a button to it.
        1. It no longer builds in QC.
        2. After many hours of research, we found that Qul::Controls should be added to a CMake file, but wasn't. (It is also a bit unclear what is the correct thing to do here)

       

      A button was added in the wysiwig design view in QDS.

       

       

       

      Qt Creator was no longer able to build the project. Some imports were added to the QML file, but something was still missing in the CMake files. The error looks like a problem with the import, but the real problem was in the CMakeLists.txt. Also in some projects that work and build correctly, we also see these import errors.

       

      Expected behaviour: (from a Qt customer perspective)

      We expected to be able to edit designs in QDS and be able to test and visualize it in QC. We expected the 2 tools to be interoperable with each other. The Designer - Developer Workflow presentations lead us to have high expectations that these things work.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            williamsmith William Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: