[Solved] qmake-generated Makefiles contain unuseable relative path to rcc.exe


  • Moderators

    Hi all,

    I'm on Windows 7, using MinGW from QtSDK 1.2.1, pre-built Qt 4.8.3, and pre-built Qt Creator 2.5.2. None of these are in my PATH, but I manually set them up in Qt Creator.

    In qmake's output Makefiles, the following tools are located via their absolute paths ("C:\Qt\4.8.3\bin<tool.exe>"): qmake.exe, idc.exe, moc.exe, uic.exe

    However, rcc.exe is located via a relative path: "bin\rcc.exe". This causes compilation to fail, as rcc.exe is definitely not in my build directory! It works if I manually compile my .qrc files, or if I manually write "C:\Qt\4.8.3\bin\rcc.exe" into the Makefile. My projects that don't use .qrc files also build fine.

    Is this a bug in qmake, or in the way I set up my build environment?


  • Moderators

    Looks like it's been reported and fixed: https://bugreports.qt-project.org/browse/QTBUG-27244


Log in to reply
 

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