[solved] resource problem: rcc can't find my *.qrc file with 4.8.3 Qt



  • I've installed the new Qt, and after rebuilding my project I got the next error message:

    "process_begin: CreateProcess(NULL, bin\rcc.exe -name dockwidgets dockwidgets.qrc -o release\qrc_dockwidgets.cpp, ...) failed."

    So, rcc.exe can't find my dockwidgets.qrc file.

    Of course, in my .pro file I have the following line:
    RESOURCES = dockwidgets.qrc

    If I build my project with the previous Qt I have no error message...

    Any idea?

    EDIT: Solved!

    In this file:
    c:\Digia\Qt\4.8.3\mkspecs\win32-g++\qmake.conf
    after the QMAKE_IDC line I insert this line:
    QMAKE_RCC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}rcc.exe


Log in to reply
 

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