aboutsummaryrefslogtreecommitdiff
path: root/bitcoin-qt.pro
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-10-07 10:46:56 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-10-25 11:51:34 -0400
commit5f2e76b8c777785a80f171d825cfddb213320f9a (patch)
tree43e5f28b893d55e8d6fcb3b1ec932eaa1c9664b2 /bitcoin-qt.pro
parent3f197952bdde524739c029e0d4a21af7ce069595 (diff)
Optionally include additional QT plugins when required to build.
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r--bitcoin-qt.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index 473fb27780..e7e10f7203 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -47,6 +47,11 @@ contains(USE_SSL, 1) {
DEFINES += USE_SSL
}
+contains(BITCOIN_NEED_QT_PLUGINS, 1) {
+ DEFINES += BITCOIN_NEED_QT_PLUGINS
+ QTPLUGIN += qcncodecs qjpcodecs qtwcodecs qkrcodecs
+}
+
# for extra security against potential buffer overflows
QMAKE_CXXFLAGS += -fstack-protector
QMAKE_LFLAGS += -fstack-protector