Jump to content
Sign in to follow this  

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
Run Xlaunch with default settings

Next setup WSL
How to turn Windows Subsystem On, to install Ubuntu 16.04 from Microsoft Store

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

Run QT Wallet

export DISPLAY=localhost:0

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


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...