From f054e53d825e232db2f1b65f05c8517c954c76e1 Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Wed, 24 Oct 2018 14:33:09 -0700 Subject: [PATCH] Fix build for v0.2.2 --- .gitignore | 1 - README.md | 4 +- zcash-qt-wallet_plugin_import.cpp | 16 ------- zec-qt-wallet.pro | 80 +++++++++++++++++++++++++++++++ 4 files changed, 82 insertions(+), 19 deletions(-) delete mode 100644 zcash-qt-wallet_plugin_import.cpp create mode 100644 zec-qt-wallet.pro diff --git a/.gitignore b/.gitignore index 95bb44e..7952c60 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,6 @@ x64/ src/precompiled.h.cpp .qmake.stash zec-qt-wallet -zec-qt-wallet.* Makefile Makefile.* qrc_application.cpp diff --git a/README.md b/README.md index 20d8501..b29c990 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ Head over to the releases page and grab the latest binary. https://github.com/ad ### Linux Extract and run the binary ``` -tar -xvf zec-qt-wallet-v0.2.1.tar.gz -./zec-qt-wallet-v0.2.1/zec-qt-wallet +tar -xvf zec-qt-wallet-v0.2.2.tar.gz +./zec-qt-wallet-v0.2.2/zec-qt-wallet ``` ### Windows diff --git a/zcash-qt-wallet_plugin_import.cpp b/zcash-qt-wallet_plugin_import.cpp deleted file mode 100644 index f954c53..0000000 --- a/zcash-qt-wallet_plugin_import.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// This file is autogenerated by qmake. It imports static plugin classes for -// static plugins specified using QTPLUGIN and QT_PLUGIN_CLASS. variables. -#include -Q_IMPORT_PLUGIN(QXcbIntegrationPlugin) -Q_IMPORT_PLUGIN(QXcbGlxIntegrationPlugin) -Q_IMPORT_PLUGIN(QGifPlugin) -Q_IMPORT_PLUGIN(QICNSPlugin) -Q_IMPORT_PLUGIN(QICOPlugin) -Q_IMPORT_PLUGIN(QJpegPlugin) -Q_IMPORT_PLUGIN(QTgaPlugin) -Q_IMPORT_PLUGIN(QTiffPlugin) -Q_IMPORT_PLUGIN(QWbmpPlugin) -Q_IMPORT_PLUGIN(QWebpPlugin) -Q_IMPORT_PLUGIN(QConnmanEnginePlugin) -Q_IMPORT_PLUGIN(QGenericEnginePlugin) -Q_IMPORT_PLUGIN(QNetworkManagerEnginePlugin) diff --git a/zec-qt-wallet.pro b/zec-qt-wallet.pro new file mode 100644 index 0000000..5c913e3 --- /dev/null +++ b/zec-qt-wallet.pro @@ -0,0 +1,80 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2018-10-05T09:54:45 +# +#------------------------------------------------- + +QT += core gui network + +CONFIG += precompile_header + +PRECOMPILED_HEADER = src/precompiled.h + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TARGET = zec-qt-wallet +APP_VERSION=\\\"0.2.2\\\" + + +TEMPLATE = app + +# 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 \ + APP_VERSION=$$APP_VERSION + + +INCLUDEPATH += src/3rdparty/ + +RESOURCES = application.qrc + +MOC_DIR = bin +OBJECTS_DIR = bin +UI_DIR = src + +CONFIG += c++14 + +SOURCES += \ + src/main.cpp \ + src/mainwindow.cpp \ + src/rpc.cpp \ + src/balancestablemodel.cpp \ + src/unspentoutput.cpp \ + src/3rdparty/qrcode/BitBuffer.cpp \ + src/3rdparty/qrcode/QrCode.cpp \ + src/3rdparty/qrcode/QrSegment.cpp \ + src/settings.cpp \ + src/sendtab.cpp \ + src/senttxstore.cpp \ + src/txtablemodel.cpp \ + src/utils.cpp + +HEADERS += \ + src/mainwindow.h \ + src/precompiled.h \ + src/rpc.h \ + src/balancestablemodel.h \ + src/unspentoutput.h \ + src/3rdparty/qrcode/BitBuffer.hpp \ + src/3rdparty/qrcode/QrCode.hpp \ + src/3rdparty/qrcode/QrSegment.hpp \ + src/3rdparty/json/json.hpp \ + src/settings.h \ + src/txtablemodel.h \ + src/senttxstore.h \ + src/utils.h + +FORMS += \ + src/mainwindow.ui \ + src/settings.ui \ + src/about.ui \ + src/confirm.ui + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target +