rcc: Use the right binary when invoking manually (#35)
* rcc: Use the right binary when invoking manually Otherwise we could run into the following error: rcc: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/rcc': No such file or directory Makefile:626: recipe for target 'rcc/qrc_images.cpp' failed make: *** [rcc/qrc_images.cpp] Error 1 * README: add automotive screenshot (fixes #32)
This commit is contained in:
parent
5a17a9fbed
commit
a01749e2ba
@ -20,3 +20,7 @@ projects and therefore may feel a bit random. Conceptually, though, any type of
|
||||
control fits into QSkinny, as long as it is usable from C++ (as opposed to only
|
||||
QML).
|
||||
|
||||
|
||||
This is a screenshot of a sample automotive UI (see examples/automotive):
|
||||
|
||||
![Automotive screenshot](https://github.com/uwerat/qskinny/blob/master/doc/automotive-screenshot.jpg?raw=true)
|
||||
|
BIN
doc/automotive-screenshot.jpg
Normal file
BIN
doc/automotive-screenshot.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
@ -82,11 +82,11 @@ rccgen.commands += $${QMAKE_MKDIR} $${RCC_DIR}
|
||||
QRC_SHADOW_CLONE = $${OUT_PWD}/${QMAKE_FILE_BASE}_shadow.qrc
|
||||
|
||||
rccgen.commands += && $${QMAKE_COPY} ${QMAKE_FILE_IN} $${QRC_SHADOW_CLONE}
|
||||
rccgen.commands += && rcc $${QRC_SHADOW_CLONE} -o ${QMAKE_FILE_OUT}
|
||||
rccgen.commands += && $$dirname(QMAKE_QMAKE)/rcc $${QRC_SHADOW_CLONE} -o ${QMAKE_FILE_OUT}
|
||||
rccgen.commands += && $${QMAKE_DEL_FILE} $${QRC_SHADOW_CLONE}
|
||||
}
|
||||
else {
|
||||
rccgen.commands += && rcc ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
rccgen.commands += && $$dirname(QMAKE_QMAKE)/rcc ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
}
|
||||
|
||||
# We would like to define a dependency for "svg2qvg.variable_out" -
|
||||
|
@ -43,11 +43,11 @@ rccgen.commands += $${QMAKE_MKDIR} $${RCC_DIR}
|
||||
QRC_SHADOW_CLONE = $${OUT_PWD}/${QMAKE_FILE_BASE}_shadow.qrc
|
||||
|
||||
rccgen.commands += && $${QMAKE_COPY} ${QMAKE_FILE_IN} $${QRC_SHADOW_CLONE}
|
||||
rccgen.commands += && rcc $${QRC_SHADOW_CLONE} -o ${QMAKE_FILE_OUT}
|
||||
rccgen.commands += && $$dirname(QMAKE_QMAKE)/rcc $${QRC_SHADOW_CLONE} -o ${QMAKE_FILE_OUT}
|
||||
rccgen.commands += && $${QMAKE_DEL_FILE} $${QRC_SHADOW_CLONE}
|
||||
}
|
||||
else {
|
||||
rccgen.commands += && rcc ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
rccgen.commands += && $$dirname(QMAKE_QMAKE)/rcc ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
||||
}
|
||||
|
||||
# We would like to define a dependency for "svg2qvg.variable_out" -
|
||||
|
Loading…
x
Reference in New Issue
Block a user