From 3694f2b0db159844c4ed595202c07b6f1fb96c80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Thu, 22 Apr 2010 22:59:14 +0200
Subject: Include Slimber QRC file.


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"])
-- 
cgit v0.10.2-6-g49f6