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

Warnings occurred while importing module "QtQuick.Controls"

XMLWordPrintable

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

      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]
      ---
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes