diff options
Diffstat (limited to 'Slimber/Qt')
-rw-r--r-- | Slimber/Qt/SConscript | 8 |
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"]) |