Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 2.7.0-rc
-
None
-
Qt 5.0.1 MinGW 4.7_32 Windows 7
Description
Suppose a project which contains the following files:
C:/MyProject/Folder_1/Startup.qml
C:/MyProject/Folder_2/Startup.qml
... and there is an error in the second file e.g.
file:///C:/MyProject/Folder_2/Startup.qml:40:9: MyCustomComponent is not a type
MyCustomComponent {
^
You click on the link in the Application Output tab. The Editor will load the first file into the editor rather than the second.
It seems that the path is not considered for QML files and there could be an assumption that cpp files will always have a unique filename and path is not relevant. This assumption if present, is not safe for QML files.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-27303 Qt Creator locates at wrong qml file when debug
-
- Reported
-
-
QTCREATORBUG-21927 AutoTest: Wrong file is opened when double click on a failed test
-
- Closed
-