diff options
author | Tobias Markmann <tm@ayena.de> | 2012-09-02 12:30:24 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-09-02 17:32:02 (GMT) |
commit | 10e368538ec36b6a5f0c115196fb1177d547a64a (patch) | |
tree | 3adf47ff4d72dcd80306e4f556aa1444357fa3c0 /Swift/QtUI/SConscript | |
parent | abf10a2c0200819f6bb99366220f4c7566c01028 (diff) | |
download | swift-10e368538ec36b6a5f0c115196fb1177d547a64a.zip swift-10e368538ec36b6a5f0c115196fb1177d547a64a.tar.bz2 |
Adding Qt based certificate viewer as fallback for Linux.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r-- | Swift/QtUI/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index 27ff237..a8a87de 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -51,6 +51,9 @@ myenv.Tool("textfile", toolpath = ["#/BuildTools/SCons/Tools"]) qt4modules = ['QtCore', 'QtGui', 'QtWebKit'] if env["PLATFORM"] == "posix" : qt4modules += ["QtDBus"] +if env["PLATFORM"] != "win32" and env["PLATFORM"] != "darwin" : + qt4modules += ["QtNetwork"] + myenv.EnableQt4Modules(qt4modules, debug = False) myenv.Append(CPPPATH = ["."]) @@ -185,6 +188,8 @@ if env["PLATFORM"] == "darwin" or env["PLATFORM"] == "win32" : swiftProgram = myenv.Program("Swift", sources) else : swiftProgram = myenv.Program("swift-im", sources) + sources += ["QtCertificateViewerDialog.cpp"]; + myenv.Uic4("QtCertificateViewerDialog.ui"); if env["PLATFORM"] != "darwin" and env["PLATFORM"] != "win32" : openURIProgram = myenv.Program("swift-open-uri", "swift-open-uri.cpp") |