Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.2.0
-
PC Ubuntu + Qt 4.7.3
Description
Using the project in attachment, the qml debugging feature is not fully operational when the qml file comes from a qrc file. I copy paste the contents of the main.cpp file:
//If file qml/steptest/main.qml has no alias in the prefix "/" in the qrc file, the breakpoint is triggered, //but the corresponding qml/steptest/main.qml is not opened at the correct position and the yellow arrow is not shown in the file viewer.setSource(QUrl("qrc:/qml/steptest/main.qml")); //If file qml/steptest/main.qml has the alias "main.qml" in the prefix "/qml" in the qrc file, the breakpoint is triggered, //but the corresponding qml/steptest/main.qml is not opened at the correct position and the yellow arrow is not shown in the file //viewer.setSource(QUrl("qrc:/qml/main.qml")); //If file qml/steptest/main.qml has the alias "start.qml" in the prefix "/qml" in the qrc file, the breakpoint is never triggered //viewer.setSource(QUrl("qrc:/qml/start.qml"));