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

Adding a state adds 'import QtQuick 1.0' even for QtQuick 2 projects

XMLWordPrintable

      Open e.g. examples\quick\controls\stackview\main.qml , and go to Design mode. Then add 'New state' button.

      An error occurs that 'states' is an invalid property (see other bug report). However, when then trying again to show the file in Designer it just prints

      'Error: Could not load: createComponent.qml:5 module "QtQuick" version 1.0 is not installed".

      Checking the source file, there's now indeed an

      'import QtQuick 1.0'

      right below the other imports, although the list of imports already contains a 'import QtQuick 2.1'

        For Gerrit Dashboard: QTCREATORBUG-9298
        # Subject Branch Project Status CR V

            thohartm Thomas Hartmann
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes