Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.5.0-rc1
-
Linux
Windows
-
dbe4e32201ebd10874c83c26493a94ba3ac0a215 4dbc0bdbf7f99bbb940da2f100ba4e5460507983
Description
- Start Creating a Qt Quick (Controls) Application or Qt Quick (Controls) UI project.
- Proceed to the "Define Project Details" page.
- In the combo box, select "Qt 5.3".
- Check "With ui.qml file".
- Finish creating the project.
- Try running this project on Qt 5.3.
You'll see QML errors like: "untitled.qml:7 MainForm is not a type" - Rename MainForm.ui.qml to MainForm.qml.
- Try running this project on Qt 5.3.
Now it works.
It seems Qt 5.3 is not able to handle ui.qml files. If this is a bug in Qt, it will not be fixed anymore. So Creator should not create projects with ui.qml files when minimum Qt version 5.3 is selected.
Found by Squish tests tst_qtquick_creation and tst_qtquick_creation3.
Attachments
For Gerrit Dashboard: QTCREATORBUG-14712 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
121309,3 | QML wizards: Do not offer .ui.qml files for Qt 5.3 | 3.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
121463,2 | QML wizards: Do not offer .ui.qml files for Qt 5.3 | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
121629,3 | Wizards: Do not offer UI files in Qt Quick projects based on qmlproject | 3.5 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |