Jump to content
Sign in to follow this  
buzzkillb

Compile and Run QT Wallet in WSL [Ubuntu 16.04]

Recommended Posts

How to compile the Denarius [$D] Linux QT in Windows 10 WSL (Ubuntu 16.04 bash) and run it in Windows like a boss.

Why would anyone do this? Why wouldn't anyone do this is the real question.

Xming Download and Install on your Windows
https://sourceforge.net/projects/xming/
Run Xlaunch with default settings

Next setup WSL
How to turn Windows Subsystem On, to install Ubuntu 16.04 from Microsoft Store
https://www.pcworld.com/article/3106463/windows/how-to-get-bash-on-windows-10-with-the-anniversary-update.html

Microsoft Store
Search -> Ubuntu -> Install Ubuntu 16.04

Go to WSL by typing ubuntu at the search bar

Update Ubuntu

sudo apt-get update -y && apt-get upgrade -y

Install Dependencies

sudo apt-get --assume-yes install git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libgmp-dev libevent-dev autogen automake  libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools

sudo apt install qt5-default

Prepare for Compiling

git clone https://github.com/carsenk/denarius
cd denarius
git checkout v3.4

Compile Ubuntu QT

qmake "USE_QRCODE=1" "USE_UPNP=1" denarius-qt.pro
make

Run QT Wallet

export DISPLAY=localhost:0
./Denarius

Currently there is a segfault issue, but just keep typing ./Denarius from the ~/denarius folder until it runs.

image.thumb.png.97f450cc3138a204ff18e6a1cb020658.png


Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...