diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-12-23 02:50:28 -0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-12-23 02:50:28 -0800 |
commit | 96b1e085c345f9d89288e1c7dfb37fcdbc09c083 (patch) | |
tree | 84f14ac2c8164c318b5436f05078736599936c17 /bitcoin-qt.pro | |
parent | 2e17ac83c65b65fe2037b8c8941c25e288905903 (diff) | |
parent | 22123c85f3722abad896aebb564a89d88da92e81 (diff) |
Merge pull request #629 from sje397/master
QR Code generation via libqrencode
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r-- | bitcoin-qt.pro | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index 0bd2113c67..b690faecd7 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 |