Jump to content

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.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...