summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 3d4fc9f..78579a6 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -45,7 +45,10 @@ myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
myenv.Tool("qt4", toolpath = ["#/BuildTools/SCons/Tools"])
myenv.Tool("nsis", toolpath = ["#/BuildTools/SCons/Tools"])
-myenv.EnableQt4Modules(['QtCore', 'QtGui', 'QtWebKit'], debug = False)
+qt4modules = ['QtCore', 'QtGui', 'QtWebKit']
+if env["PLATFORM"] == "posix" :
+ qt4modules += ["QtDBus"]
+myenv.EnableQt4Modules(qt4modules, debug = False)
myenv.Append(CPPPATH = ["."])