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

Wizards accepts QtQuick as project name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 4.9.0
    • Quick / QML Support
    • None

    Description

      Using QtQuick as the project name doesn't throw a hint/warning/error in the wizard. It will create the following imports:

      import QtQuick 2.12
      import QtQuick 1.0
      
      Rectangle {
          width: Constants.width
          height: Constants.height
      
          color: Constants.backgroundColor
      
          Text {
              text: qsTr("Hello QtQuick")
              anchors.centerIn: parent
              font.family: Constants.font.family
          }
      }
      

      Which creates the following output when trying to run the application.

      qmlscene: 'import QtQuick 1.0' is no longer supported.
      Use qmlviewer to load file '/home/hag/QtQuick/QtQuick.qml'.
      

      Attachments

        Issue Links

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

          Activity

            People

              tapani.mattila Tapani Mattila
              henning Henning Gründl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes