Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123958

Warnings occurred while importing module "QtQuick.Controls"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.5.5
    • Quick: Controls 2
    • None

    Description

      import QtQuick
      import QtQuick.Controls
      
      Window {
          width: 1500
          height: 800
          visible: true
          title: qsTr("Hello World")
      }
      

      when building this on Qt6.5.5 Mingw will give warning:

      Warning: Main.qml:2:1: Warnings occurred while importing module "QtQuick.Controls": [import]
      import QtQuick.Controls
      ^^^^^^
      ---
      Warning: QtQuick.Controls uses optional imports which are not supported. Some types might not be found. [import]
      ---
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              jiu shanheng jiu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes