-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
Qt Creator 2.5.0-beta
-
None
-
Latest Creator built today from gerrit repository on 64-bit Linux
ssh://codereview.qt-project.org:29418/qt-creator/qt-creator.git
When you create a Qt Quick UI project, you will get a qmlproject file with this line in it:
mainFile: "qmlmain.qml"
My understanding is that regardless which file you have loaded in the editor, this line should tell Creator which one to run. But in fact if another file from your app is loaded, Creator will try to run that instead. You can test with the attached example: load the project, then load Content.qml in the editor and try to run or debug. You will get a very small window because Content.qml is anchored to its parent rather than setting its own size, and Creator is running that one. You can see something like this in the application output too:
Starting /path/to/qmlscene -qmljsdebugger=port:3768,block -I /path/to/qtbase/imports /home/rutledge/bugs/qmlmain/Content.qml