Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.10.0-beta2
-
Windows 10 1903 64 bit
-
178e57129d9197e938d344de5db443aa1f039f58 (qt-creator/qt-creator/4.10)
Description
- Start Creating a new "Qt Quick Application - Empty" using Creator's wizard.
- On the page "Define Project Details", select the minimum Qt version 5.6.
- Proceed with defaults until you finished the wizard.
The created file main.qml start with these lines:import QtQuick 2.6 import QtQuick.Window 2.6
You will not be able to run the project, because Qt 5.6 only contained QtQuick.Window 2.2.
The imports should match what is present in the minimum Qt version. Creator 4.9 did this right.
Found by Squish test tst_qtquick_creation.
Attachments
For Gerrit Dashboard: QTCREATORBUG-22614 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268012,3 | Fix imports in Qt Quick wizards | 4.10 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |