Paper wallet for Hush, which you can use with no internet access while wearing a tinfoil hat inside of a Faraday cage. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.7 KiB

5 years ago
#-------------------------------------------------
#
# Project created by QtCreator 2019-05-23T09:37:52
#
#-------------------------------------------------
5 years ago
QT += core gui
5 years ago
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
5 years ago
TARGET = zecpaperwalletui
5 years ago
TEMPLATE = app
MOC_DIR = bin
OBJECTS_DIR = bin
UI_DIR = src
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++14
CONFIG += precompile_header
PRECOMPILED_HEADER = src/precompiled.h
SOURCES += \
src/main.cpp \
src/mainwindow.cpp \
src/qrcodelabel.cpp \
src/qrcode/BitBuffer.cpp \
src/qrcode/QrCode.cpp \
5 years ago
src/qrcode/QrSegment.cpp
5 years ago
HEADERS += \
src/mainwindow.h \
src/qrcodelabel.h \
src/precompiled.h \
src/qrcode/BitBuffer.hpp \
src/qrcode/QrCode.hpp \
src/qrcode/QrSegment.hpp \
src/version.h \
qtlib/src/zecpaperrust.h
5 years ago
FORMS += \
5 years ago
src/about.ui \
5 years ago
src/mainwindow.ui \
src/wallet.ui
# Rust library
INCLUDEPATH += $$PWD/qtlib/src
DEPENDPATH += $$PWD/qtlib/src
unix: librust.target = $$PWD/qtlib/target/release/libzecpaperrust.a
else:win32: librust.target = $$PWD/qtlib/target/x86_64-pc-windows-gnu/release/zecpaperrust.lib
unix: librust.commands = $(MAKE) -C $$PWD/qtlib
else:win32: librust.commands = $(MAKE) -C $$PWD/qtlib winrelease
5 years ago
librustclean.commands = "rm -rf $$PWD/qtlib/target"
distclean.depends += librustclean
QMAKE_EXTRA_TARGETS += librust librustclean distclean
QMAKE_CLEAN += $$PWD/qtlib/target/release/libzecpaperrust.a
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32: LIBS += -L$$PWD/qtlib/target/x86_64-pc-windows-gnu/release -lzecpaperrust
5 years ago
else:macx: LIBS += -L$$PWD/qtlib/target/release -lzecpaperrust -framework Security -framework Foundation
5 years ago
else:unix: LIBS += -L$$PWD/qtlib/target/release -lzecpaperrust -ldl
win32: PRE_TARGETDEPS += $$PWD/qtlib/target/x86_64-pc-windows-gnu/release/zecpaperrust.lib
5 years ago
else:unix::PRE_TARGETDEPS += $$PWD/qtlib/target/release/libzecpaperrust.a