Remove obsolete information (E.G. that Qt is optional when building a GUI).

DoctorMacc 2018-07-25 21:23:27 -04:00
parent 597c5816af
commit 7654ae36f7

@ -1,11 +1,4 @@
## Linux and macOS
Use -DENABLE_QT2 when calling CMake:
`cmake .. -DENABLE_QT2=true`
## Windows
Build the DolphinQt2 project in Visual Studio. See [[Building for Windows]]
As of Dolphin 5.0-8279, Qt is the only GUI available for desktop platforms.
## Notes
@ -15,16 +8,16 @@ Build the DolphinQt2 project in Visual Studio. See [[Building for Windows]]
* 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 (exemple with V5.10.1) :
* Add the location of the bin directories to the PATH environment variable (exemple with V5.11.1) :
``` bash
echo "PATH=\$PATH:Qt/Tools/QtCreator/bin:Qt/5.10.1/gcc/bin" >> ~/.bashrc
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.10.1/gcc/lib
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.10.1/gcc/lib dolphin-emu-qt2
env LD_LIBRARY_PATH=Qt/5.11.1/gcc/lib dolphin-emu-qt2
```
* Using -DENABLE_LTO=true will break the Qt build