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

MCUDefaultStyle cannot be found in QDS for Qt for MCU project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • QDS 4.3
    • QDS 3.5
    • MCU support
    • None
    • Windows, Qt 6.3.1, Qt for MCU 2.2.0
    • Windows

    Description

      Reproduce procedure:

      1. Create a new Qt for MCU project from QDS
      2. Enable Kit: Desktop Qt 6.3.1
      3. Add a Quick Controls item, e.g. a Button, in Screen01.ui.qml
        1. import QtQuick.Controls 2.15
        2. Button { id: button}
      4. Run

      There is an error message:

      QQmlApplicationEngine failed to load component
      file:///C:/_dev/Brose_test_3/Brose_test_3.qml:8:5: Type Screen01 unavailable
      file:///C:/_dev/Brose_test_3/Screen01.ui.qml: module "MCUDefaultStyle" is not installed
      qml: Did not load any objects, exiting.

      Workaround1:

      Change the Kit to Desktop Qt 5.15.5

      Workaround2:

      In the auto generated file qtquickcontrols2.conf, comment out the line:

      [Controls]
      #Style=MCUDefaultStyle

      Attachments

        1. screenshot-1.png
          168 kB
          Qichen Huang

        Issue Links

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

          Activity

            People

              algerman Aleksei German
              qihuang Qichen Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes