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. How To Solve this Resources error?
Qt 6.11 is out! See what's new in the release blog

How To Solve this Resources error?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 4.6k Views 1 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.
  • K Offline
    K Offline
    Kistlak
    wrote on last edited by A Former User
    #1

    I have created a media player. But, when I'm going to run it, Qt gives me this error - [debug/qrc_resources.cpp] Error 1

    How can I Fix this ??

    When I click show output, it gives me this.

    19:44:48: Running steps for project QTPlayer...
    19:44:48: Configuration unchanged, skipping qmake step.
    19:44:48: Starting: "D:\QT\Tools\mingw530_32\bin\mingw32-make.exe" 
    D:/QT/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'D:/Projects & Tests/C++/Projects/build-QTPlayer-Desktop_Qt_5_7_1_MinGW_32bit-Debug'
    D:\QT\5.7\mingw53_32\bin\rcc.exe -name resources "..\QTPlayer Senith\resources.qrc" -o debug\qrc_resources.cpp
    RCC: Error in '..\QTPlayer Senith\resources.qrc': Cannot find file 'icons/folder.png'
    
    Makefile.Debug:100: recipe for target 'debug/qrc_resources.cpp' failed
    mingw32-make[1]: Leaving directory 'D:/Projects & Tests/C++/Projects/build-QTPlayer-Desktop_Qt_5_7_1_MinGW_32bit-Debug'
    mingw32-make[1]: *** [debug/qrc_resources.cpp] Error 1
    Makefile:34: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 2
    19:44:49: The process "D:\QT\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project QTPlayer (kit: Desktop Qt 5.7.1 MinGW 32bit)
    When executing step "Make"
    19:44:49: Elapsed time: 00:01.
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      medyakovvit
      wrote on last edited by
      #2

      @Kistlak said in How To Solve this Resources error in Qt ??:

      Cannot find file 'icons/folder.png'

      What about that?

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

        Hi
        error 1 means file not really found.
        You might have reference to a file no longer there.
        Right click the qres file in project view and select
        alt text

        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