aboutsummaryrefslogtreecommitdiff
path: root/bitcoin-qt.pro
diff options
context:
space:
mode:
authorsje397 <sje397@gmail.com>2011-11-11 01:20:17 +1100
committersje397 <sje397@gmail.com>2011-12-20 22:11:24 +1100
commit22123c85f3722abad896aebb564a89d88da92e81 (patch)
tree212d80a39a64c31bc7746127306cdb4eb9ce1614 /bitcoin-qt.pro
parent3528650560a2c417da2303869c743da019defc6d (diff)
Added QRCode generation functions via libqrencode. Switch on with USE_QRENCODE=1.
Amended build docs for Linux and OSX, and OSX makefile. Added package 'qrencode' to gitian.yml
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r--bitcoin-qt.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index 853f2faf93..4a8dedc107 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -19,6 +19,14 @@ OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
+# use: qmake "USE_QRCODE=1"
+# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
+contains(USE_QRCODE, 1) {
+ message(Building with QRCode support)
+ DEFINES += USE_QRCODE
+ LIBS += -lqrencode
+}
+
# use: qmake "RELEASE=1"
contains(RELEASE, 1) {
# Mac: compile for maximum compatibility (10.5, 32-bit)
@@ -199,6 +207,12 @@ FORMS += \
src/qt/forms/sendcoinsentry.ui \
src/qt/forms/askpassphrasedialog.ui
+contains(USE_QRCODE, 1) {
+HEADERS += src/qt/qrcodedialog.h
+SOURCES += src/qt/qrcodedialog.cpp
+FORMS += src/qt/forms/qrcodedialog.ui
+}
+
CODECFORTR = UTF-8
# for lrelease/lupdate