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

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 11.0.2
    • Quick Designer
    • None
    • Android

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes