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

Importing QtQuick.Controls in a Design Studio projects breaks the runtime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QDS 4.3
    • QDS 4.2
    • MCU support, Wizards
    • None
    • Windows 10, Design Studio 4.2
    • b46a0e8e1 (qds/dev)
    • QDS Berlin - 2023 Week 35/36

    Description

      Action:

      • Open DS 4.2 in windows and create a fresh MCU project
      • Drag and drop a QtQuick.Controls item from the Components list into the project OR just simply add the following line to the top of Screen01.ui.qml: import QtQuick.Controls
      • Press the play button

      Expected:

      • Application should launch as expected without issue

      Actual:

      • Application fails to launch with the following errors:

      QML debugging is enabled. Only use this in a safe environment.
      Info: Starting QML Runtime ((null):0, (null))
      Warning: CoreApp is not initialized! Falling back to QGuiApplication! ((null):0, (null))
      Warning: QQmlApplicationEngine failed to load component ((null):0, (null))
      Warning: file:///C:/projects/UntitledProject7/UntitledProject7.qml:8:5: Type Screen01 unavailable (file:///C:/projects/UntitledProject7/UntitledProject7.qml:8, (null))
      Warning: file:///C:/projects/UntitledProject7/Screen01.ui.qml: module "MCUDefaultStyle" is not installed (file:///C:/projects/UntitledProject7/Screen01.ui.qml:4294967295, (null))
      qml: Did not load any objects, exiting.

       

      Attachments

        Issue Links

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

          Activity

            People

              algerman Aleksei German
              tfouts Taylor Fouts
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes