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

After creating a Qml project where you imported a QML file, subsequent projects import this too even though you selected "generate a main.qml file"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.1.0
    • Qt Creator 2.1.0-rc1
    • None
    • Tested on Windows 7 with the 1.1 TP SDK, but expected to not be platform related.

    Description

      To reproduce:

      • Create some QML file somewhere on disk
      • Create a new Qt Quick Application, when it comes to the "Main QML File" panel, choose "Import an existing .qml file" and select the file you just created

      Then

      • Close that project
      • Create a new Qt Quick Application, when it comes to the "Main QML File" panel, choose "Generate a main.qml file"

      Expected: project is created with a generic main.qml (the hello world)
      Actual: project is created with the previous .qml file imported

      If you close and restart Qt Creator in between these steps, the imported file is forgotten and generating a main.qml file works.

      Attachments

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

        Activity

          People

            dt Daniel Teske
            dennis Dennis Noordsij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes