Jump to content

Compile and Run QT Wallet in WSL [Ubuntu 16.04]


buzzkillb
 Share

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

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.

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

 Share

×
×
  • Create New...