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



  • 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!



  • 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.



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

    Thanks a lot!!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.