Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator not creating .qrc file or folder
Forum Updated to NodeBB v4.3 + New Features

Qt Creator not creating .qrc file or folder

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • timmie124T Offline
    timmie124T Offline
    timmie124
    wrote on last edited by A Former User
    #1

    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?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      timmie124T 1 Reply Last reply
      0
      • mrjjM mrjj

        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

        timmie124T Offline
        timmie124T Offline
        timmie124
        wrote on last edited by
        #3

        @mrjj just tried the test project and it runs with out an issue.

        1 Reply Last reply
        0
        • timmie124T Offline
          timmie124T Offline
          timmie124
          wrote on last edited by
          #4

          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.

          mrjjM 1 Reply Last reply
          2
          • timmie124T timmie124

            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.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @timmie124
            Super. thx for reporting back. Please mark as Solved. :)

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved