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. [Resolved] Compiling problems, resources files (.cpp, .h) not found....
Forum Updated to NodeBB v4.3 + New Features

[Resolved] Compiling problems, resources files (.cpp, .h) not found....

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 7.7k 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.
  • D Offline
    D Offline
    dcbasso
    wrote on last edited by
    #1

    Well I'm trying to compile my app on Windows 7, with MinGW, Qt 4.8.3, but I getting a strange error when I try to compile my application:

    @
    process_begin: CreateProcess(NULL, bin\rcc.exe -name Resources ..\SistemaAssistenciaTecnica\Resources.qrc -o debug\qrc_Resources.cpp, ...) failed.
    make (e=2): O sistema não pode encontrar o arquivo especificado.
    mingw32-make[1]: *** [debug/qrc_Resources.cpp] Error 2
    mingw32-make: *** [debug] Error 2
    09:48:41: The process "C:\MinGW\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project InoveBEV (target: Desktop)
    When executing step 'Make'
    @

    I already compile this app using QtSDK with MinGW and Qt 4.8.2 and 4.7.4, and on Linux...
    So why this problem is showing if the resources file dosen't need the cpp files and .h files?!

    Thanks all!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maxoreli
      wrote on last edited by
      #2

      edit the line in your Makefile.Debug, to remove “bin\”, and try it.
      So you’d have a line like this:
      rcc.exe -name Resources ..\SistemaAssistenciaTecnica\Resources.qrc-o debug\qrc_Resources.cpp.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dcbasso
        wrote on last edited by
        #3

        Great Maxoreli!
        That's the problem, appears to be a Bug? Or Not?

        Thanks a lot!!

        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