Closed tamlok closed 1 year ago
You may find a rcc in 6.5.2/gcc_64/libexec/rcc
I can say same for moc
and uic
.
There are in gcc_64/bin/
in Qt 5.15.2.
The change was happened in Qt 6.2. QTBUG-88791 Move build tools like moc and rcc into $prefix/libexec
@miurahr So do we need to manually add this folder to the PATH? The rcc is called within the make
process according to the qmake pro file.
@tamlok The path of rcc should be handled by qmake or cmake. you seems set it in your qmake configurations; https://github.com/vnotex/vnote/blob/master/src/src.pro#L74-L80
win32 {
rcc_binary.commands = $$shell_path($$[QT_HOST_BINS]/rcc.exe) -name ${QMAKE_FILE_IN_BASE} -binary ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
rcc_binary.depend_command = $$shell_path($$[QT_HOST_BINS]/rcc.exe) -list $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN}
} else {
rcc_binary.commands = $$[QT_HOST_BINS]/rcc -name ${QMAKE_FILE_IN_BASE} -binary ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
rcc_binary.depend_command = $$[QT_HOST_BINS]/rcc -list $$QMAKE_RESOURCE_FLAGS ${QMAKE_FILE_IN}
}
You can change it somethings like
rcc_binary.commands = $$[QT_HOST_LIBEXECS]/rcc
Thanks! I forgot I declared the rcc here.
Hi,
I install Qt 6.5.2 in CI:
But got error:
A tree of the Qt bin dir:
Thanks!