From 171722ab808b73aef3eab7c05fc0a9d22589b305 Mon Sep 17 00:00:00 2001 From: Joao Moraes Date: Thu, 13 Sep 2018 03:06:13 -0300 Subject: [PATCH] Updated Building for Ubuntu 16.04 (markdown) --- Building-for-Ubuntu-16.04.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Building-for-Ubuntu-16.04.md b/Building-for-Ubuntu-16.04.md index 0c90308..8faf434 100644 --- a/Building-for-Ubuntu-16.04.md +++ b/Building-for-Ubuntu-16.04.md @@ -46,4 +46,23 @@ Remove the PPA (optional): ## Step 3: Run Citra - ./src/citra_qt/citra-qt \ No newline at end of file + ./src/citra_qt/citra-qt + +## Optional: Install new QT version + +If you had an error while building citra-qt part (this part was added from an `AutoMoc subprocess error` when running a qt5/bin/moc command, but this may fix some other errors) + +- Go to http://download.qt.io/official_releases/qt/ and get the latest linux version link (this guide used 5.11.1 at the time) and run the following commands: + + wget link_to_latest_linux_official_release + chmod +x qt-opensource-linux-x64-x.x.x.run + ./qt-opensource-linux-x64-x.x.x.run + +- Install selecting only `Desktop gcc` option besides the `Tools` one that you can't remove +- Add those exports to your .bashrc file (change QTDIR variable if installing another version) + + export QTDIR="$HOME/Qt5.11.1/5.11.1/gcc_64" + export PATH="$QTDIR/bin:$PATH" + export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH" + +- Reload your .bashrc file and try building again from the start. \ No newline at end of file