Qt 4.8.3 dont compile my resource files!!



  • have you already this trouble ?
    is it a bug or other ?

    i had a Qt project compiled with Qt libraries 4.8.0 and it worked fine.
    Recently i have downloaded a new version Qt 4.8.3 and when i compile my project with it, it print int output window this message:

    process_begin: CreateProcess(NULL, bin\rcc.exe -name TEST ....\TEST\UI\TEST -o debug\qrc_TEST.cpp, ...) failed.
    make (e=2): Le fichier spécifié est introuvable.
    mingw32-make[2]: *** [debug/qrc_TEST.cpp] Error 2
    mingw32-make[1]: Leaving directory `C:/Users/MAXORELI/Desktop/BkerTest/TEST-build-desktop-Qt_4_8_3_Debug/UI'
    mingw32-make[1]: *** [debug] Error 2
    mingw32-make: *** [sub-UI-make_default] Error 2
    14:19:53: The process "C:\Qt\qtcreator-2.5.0\MinGW-gcc440_1\mingw\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project TEST (target: Desktop)
    When executing step 'Make'

    what I should do ? or is it a bug because when i compile with Qt 4.8.0 it works



  • If you edit the line in your Makefile.Debug, to remove "bin", it works. So you'd have a line like this:

    @rcc.exe -name TEST TEST.qrc -o debug\qrc_TEST.cpp@

    I am trying to find out where this creeps in, but for now, its the workaround I am using. If I find out where, I'll update this information.



  • OK, I confirmed my original idea. Google knows everything haha

    "Cannot find rcc.exe, attempts to search in current working directory":https://bugreports.qt-project.org/browse/QTBUG-27237


Log in to reply
 

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