Destroyed Building with Qt (markdown)

shuffle2 2022-05-17 02:18:42 -07:00
parent 853828e954
commit 19c4ff80b2

@ -1,23 +0,0 @@
As of [Dolphin 5.0-8279](https://dolphin-emu.org/download/dev/e22c5333ab50c3e84774ce831eaeba48bcea5901/), Qt is the only GUI available for desktop platforms.
## Notes
* Ensure that Qt5 is installed
For Linux :
* Download the Open Source version of Qt from [Qt official download page](https://www.qt.io/download) or from the [archive website](https://download.qt.io/archive/qt/) for an older version
* You should end up with a **.run** extension file. Make it executable with `chmod +x *.run`
* Launch the executable
* Go to the end of the procedure
* Add the location of the bin directories to the PATH environment variable (example with V5.11.1) :
``` bash
echo "PATH=\$PATH:Qt/Tools/QtCreator/bin:Qt/5.11.1/gcc/bin" >> ~/.bashrc
```
* Build dolphin with the **Qt5Gui_DIR** env variable set on the Qt lib location :
``` bash
export Qt5Gui_DIR=Qt/5.11.1/gcc/lib
```
* Finally, launch dolphin with the **LD_LIBRARY_PATH** set on the same folder. In one command :
``` bash
env LD_LIBRARY_PATH=Qt/5.11.1/gcc/lib dolphin-emu
```
* Using -DENABLE_LTO=true will break the Qt build