Solved Qt Creator not creating .qrc file or folder
-
I'm trying to create a .qrc file for my project using the add new wizard. when I finish all the prompts I get this error
https://i.gyazo.com/efbf371f2e0bf2de16f8f659175d5ce8.png
Failed to Write Files
Unable to create the directory C:\Users\Tim's Desk\Documents\SQLiteModule\resources\Error in " Cpp.fileName("C:\Users\Tim's Desk\Documents\SQLiteModule.QT does create the new empty directory but doesn't add it to the editor nor does it add the .qrc file
Thought maybe my project got messed up somewhere so I decided to try it on a empty project and got the same error. I also tried updating QT as well and got the same issue. how can I fix this or whats the proper work around for this?
-
Hi
That is the first time i ever heard about that.
Can you try a test project with a res file?
https://www.dropbox.com/s/y2m2qezscweqrbw/myresfile.zip?dl=0 -
@mrjj just tried the test project and it runs with out an issue.
-
I think I solved the issue, the problem was this Tim's Desk contained an apostrophe and that's what caused the syntax error in the wizard. I tried to use %USERPROFILE%\Documents\SQLiteModule to get around it but sadly %USERPROFILE% resolves back to Tim's Desk in the wizard so I just ended up moving my project to my the hard drive's root folder and no longer have the problem.
-
@timmie124
Super. thx for reporting back. Please mark as Solved. :)