-
Notifications
You must be signed in to change notification settings - Fork 140
Compiling from source code
To build zec-qt-wallet locally, you need to install Qt v5.11 or higher. You can get the latest opensource verison from the Qt download site. Download and install the qt version for your platform. During the installation, please also select the build version for your platform/compiler.
zec-qt-wallet is written in C++ 14, so you'll also need a modern C++ compiler like g++/clang++/visual c++ depending on your platform.
First install the pre-requisites
sudo apt install libgl1-mesa-dev
git clone https://github.com/adityapk00/zec-qt-wallet.git
cd zec-qt-wallet
/path/to/qt5/bin/qmake zec-qt-wallet.pro CONFIG+=debug
make -j$(nproc)
./zec-qt-wallet
You need Visual Studio 2017 (The free C++ Community Edition works just fine). Alternately, you can cross-compile on Linux for Windows using the mingw compiler. See cross-compile instructions here.
From the VS Tools command prompt
git clone https://github.com/adityapk00/zec-qt-wallet.git
cd zec-qt-wallet
c:\Qt5\bin\qmake.exe zec-qt-wallet.pro -spec win32-msvc CONFIG+=debug
nmake
debug\zec-qt-wallet.exe
To create the Visual Studio project files so you can compile and run from Visual Studio:
c:\Qt5\bin\qmake.exe zec-qt-wallet.pro -tp vc CONFIG+=debug
You need to install the XCode app or the XCode command line tools first, and then install Qt.
git clone https://github.com/adityapk00/zec-qt-wallet.git
cd zec-qt-wallet
/path/to/qt5/bin/qmake zec-qt-wallet.pro CONFIG+=debug
make
./zec-qt-wallet.app/Contents/MacOS/zec-qt-wallet