mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 09:51:36 +02:00
Add extra step with Qt installation
parent
f92482dc3c
commit
4bfc63e32e
@ -12,10 +12,18 @@ Build the DolphinQt2 project in Visual Studio. See [[Building for Windows]]
|
||||
* Ensure that Qt5 is installed
|
||||
* 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 as root
|
||||
* Launch the executable
|
||||
* Go to the end of the procedure
|
||||
* Add the location of the bin directories to the PATH environment variable (exemple with V5.10.1) :
|
||||
``` bash
|
||||
echo "PATH=\$PATH:/opt/Qt/Tools/QtCreator/bin:/opt/Qt/5.10.1/gcc/bin" >> ~/.bashrc
|
||||
echo "PATH=\$PATH:Qt/Tools/QtCreator/bin:Qt/5.10.1/gcc/bin" >> ~/.bashrc
|
||||
```
|
||||
* Build dolphin with the **Qt5Gui_DIR** env variable set on the Qt lib location :
|
||||
```bash
|
||||
export Qt5Gui_DIR=Qt/5.10.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.10.1/gcc/lib dolphin-emu-qt2
|
||||
```
|
||||
* Using -DENABLE_LTO=true will break the Qt build
|
Loading…
x
Reference in New Issue
Block a user