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. [Solved] Resource file not found when compiling

[Solved] Resource file not found when compiling

Scheduled Pinned Locked Moved General and Desktop
compiler errorfile not found
6 Posts 2 Posters 3.4k Views
  • 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.
  • E Offline
    E Offline
    Endless77
    wrote on 9 Jul 2015, 16:56 last edited by koahnig 7 Sept 2015, 18:40
    #1

    When looking at my project file in Qt Creator, it indicates that I'm including 2 resource files:

    RESOURCES += \
    GUIResources.qrc \
    Traductions.qrc

    I can open these file in Qt Creator, and everything looks fine. When I build my project, I get the following error: [qrc_GUIResources.cpp] Error 1 File not found. When I look in the release folder, I see all the other files built by the compiler, but there are no .cpp files for the resource files.

    Under the Build menu, I've tried cleaning my project, run Qmake and finally rebuilding my project. Nothing seems to matter; I always get the same error. What am I missing?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on 9 Jul 2015, 17:12 last edited by
      #2

      Hi and welcome to devnet

      Did you check the output of qmake for warnings?
      These files might be in a different folder than qmake is searching.
      Are they in the same folder as the rest of the code?

      Vote the answer(s) that helped you to solve your issue(s)

      E 1 Reply Last reply 9 Jul 2015, 18:27
      0
      • K koahnig
        9 Jul 2015, 17:12

        Hi and welcome to devnet

        Did you check the output of qmake for warnings?
        These files might be in a different folder than qmake is searching.
        Are they in the same folder as the rest of the code?

        E Offline
        E Offline
        Endless77
        wrote on 9 Jul 2015, 18:27 last edited by
        #3

        @koahnig Yes, when looking at the output of the make step, this resource file was referencing another file that had been accidentally deleted. I know what to look for now. Thanks!

        K E 2 Replies Last reply 9 Jul 2015, 18:33
        0
        • E Endless77
          9 Jul 2015, 18:27

          @koahnig Yes, when looking at the output of the make step, this resource file was referencing another file that had been accidentally deleted. I know what to look for now. Thanks!

          K Offline
          K Offline
          koahnig
          wrote on 9 Jul 2015, 18:33 last edited by
          #4

          @Endless77
          You are welcome. Glad that it was as easy.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • E Endless77
            9 Jul 2015, 18:27

            @koahnig Yes, when looking at the output of the make step, this resource file was referencing another file that had been accidentally deleted. I know what to look for now. Thanks!

            E Offline
            E Offline
            Endless77
            wrote on 9 Jul 2015, 18:39 last edited by
            #5

            I feel embarrassed to admit this, but for the life of me I can't find the way to edit the thread title to mark this thread as solved. There used to be an update post button.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on 9 Jul 2015, 18:43 last edited by
              #6

              Just did mark it as solved.
              This might be because you have signed up lately. Not sure what the restrictions are, but it is meant for spam prevention.

              Otherwise at your top post respectively any other post you should see a gear wheel at the right. Click on this and on the left button showing up. In general it is self-explanatory and I am sure you will find it next time.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0

              3/6

              9 Jul 2015, 18:27

              • Login

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