mkspecs/features/resources.prf
branchGCC_SURGE
changeset 31 5daf16870df6
parent 29 b72c6db6890b
--- a/mkspecs/features/resources.prf	Mon Jun 21 22:38:13 2010 +0100
+++ b/mkspecs/features/resources.prf	Thu Jul 22 16:41:55 2010 +0100
@@ -1,7 +1,5 @@
-isEmpty(QMAKE_RCC) {
-    win32:QMAKE_RCC = $$[QT_INSTALL_BINS]\rcc.exe
-    else:QMAKE_RCC = $$[QT_INSTALL_BINS]/rcc
-}
+defined(qtPrepareTool)|load(qt_functions) ### Qt 5: see default_pre.prf
+qtPrepareTool(QMAKE_RCC, rcc)
 
 isEmpty(RCC_DIR):RCC_DIR = .
 isEmpty(QMAKE_RESOURCE_PREFIX):QMAKE_RESOURCE_PREFIX = /tmp/