]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Win32: copying PNG files to target resource dir added
authorsan <san@opencascade.com>
Sun, 1 Feb 2009 15:44:42 +0000 (15:44 +0000)
committersan <san@opencascade.com>
Sun, 1 Feb 2009 15:44:42 +0000 (15:44 +0000)
src/SVTK/SVTK.pro

index cd20f3ef0ac3fd37ec3dd36becd747b51eaf0af9..1af08e8394042cb1a16ca37fa4c418c2f52f277c 100644 (file)
@@ -115,6 +115,14 @@ win32:QMAKE_EXTRA_COMPILERS += copy_hdr
 
 ICONS   = resources/*.png
 
+win32:SOURCES+=$$ICONS
+win32:Resource=$$ICONS
+win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
+win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
+win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
+win32:copy_res.input = Resource
+win32:QMAKE_EXTRA_COMPILERS += copy_res
+
 includes.files = $$HEADERS
 includes.path = ../../include