Solved Qt Creator 4.6 cannot open qrc file from Locator
-
I just recently upgraded to QtCreator 4.6 from QtCreator 4.2 and realized that I am unable to open any *.qrc file from the Locator (Command + K). Is there any special configuration that I have to do?
-
hi
In what way open ?
if i command+k
and then f (for file system)
it can list any qrc file. ( and open if you press enter)I have not noticed any change and Locator is my best friend. (and F2)
Do you mean qrc added to project ?
-
Hi @mrjj , in QtCreator 4.2, I don't even have to use f (for file system). Just using Command+k and type the fileName.qrc will already show the file in the dropdown list of the locator. Then I just have to choose that and hit Enter and it will open it directly in the editor.
And yes, this qrc file is added to the project via .pri file
-
@Sivan the 'f' filter is enabled by default, so you don't need to type it. could you check if for some reason it's not enabled anymore for you? (should be somewhere in Tools > Options)
-
@aha_1980 No, that doesn't help. Even when I manually type f, I am still unable to find that file. Only once I manually right-click and open in the Editor (from Project directory) then I am unable to find that file.
Basically I can only find *.qrc file from Locator if it is in my Opened files
-
@Sivan then it sounds like a bug?! could you please create a report at bugreports.qt.io (best with a minimal example for reproducing)?
please provide a link to the report here.
Thanks
-
I have created a report as requested https://bugreports.qt.io/browse/QTCREATORBUG-20220
-
This issue is fixed in Qt Creator 4.6.1