Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29677

When adding a Quick Control with the design view, the import of QtQuick.Controls is versioned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 11.0.2
    • Quick Designer
    • Android

      I created the usual barebones project as a Qt Quick Application, so it contains nothing but a Window in its QML, and added a Button with the Quick Designer. It added an import QtQuick.Controls 5.15. Running that on Android failed, due to a complaint that that particular version isn't installed.

      I thought the current way to do imports is without a version? I removed the version number from the import, and the app ran correctly on Android.

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

            thohartm Thomas Hartmann
            villevoutilainen_qt Ville Voutilainen
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes