summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-22 20:59:14 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-22 20:59:14 (GMT)
commit3694f2b0db159844c4ed595202c07b6f1fb96c80 (patch)
tree43ac628b840135e488c30f2321dc9eedb0caa1a9 /Slimber/Qt
parent7b3078dab5ae53b9de9402c30b44d87277cf2aa9 (diff)
downloadswift-contrib-3694f2b0db159844c4ed595202c07b6f1fb96c80.zip
swift-contrib-3694f2b0db159844c4ed595202c07b6f1fb96c80.tar.bz2
Include Slimber QRC file.
Diffstat (limited to 'Slimber/Qt')
-rw-r--r--Slimber/Qt/SConscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/Slimber/Qt/SConscript b/Slimber/Qt/SConscript
index 9b0a8db..5e28b58 100644
--- a/Slimber/Qt/SConscript
+++ b/Slimber/Qt/SConscript
@@ -22,7 +22,11 @@ if env["PLATFORM"] == "win32" :
myenv.Append(LINKFLAGS = ["/SUBSYSTEM:WINDOWS"])
myenv.Append(LIBS = "qtmain")
-sources = ["main.cpp", "QtMenulet.cpp"]
+sources = [
+ "main.cpp",
+ "QtMenulet.cpp",
+ myenv.Qrc("Slimber.qrc"),
+ ]
#if env["PLATFORM"] == "win32" :
# myenv.RES("../resources/Windows/Slimber.rc")
@@ -33,8 +37,6 @@ if env["PLATFORM"] == "win32" :
else :
slimberProgram = myenv.Program("slimber", sources)
-myenv.Qrc("Slimber.qrc")
-
if env["PLATFORM"] == "win32" :
if "dist" in COMMAND_LINE_TARGETS or env.GetOption("clean") :
myenv.WindowsBundle("Slimber", resources = [], qtlibs = ["QtCore4", "QtGui4"])