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.