mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-20 06:07:49 +00:00
Remove obsolete information (E.G. that Qt is optional when building a GUI).
parent
597c5816af
commit
7654ae36f7
@ -1,11 +1,4 @@
|
|||||||
## Linux and macOS
|
As of Dolphin 5.0-8279, Qt is the only GUI available for desktop platforms.
|
||||||
|
|
||||||
Use -DENABLE_QT2 when calling CMake:
|
|
||||||
`cmake .. -DENABLE_QT2=true`
|
|
||||||
|
|
||||||
## Windows
|
|
||||||
|
|
||||||
Build the DolphinQt2 project in Visual Studio. See [[Building for Windows]]
|
|
||||||
|
|
||||||
## Notes
|
## 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`
|
* You should end up with a **.run** extension file. Make it executable with `chmod +x *.run`
|
||||||
* Launch the executable
|
* Launch the executable
|
||||||
* Go to the end of the procedure
|
* 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
|
``` 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 :
|
* Build dolphin with the **Qt5Gui_DIR** env variable set on the Qt lib location :
|
||||||
``` bash
|
``` 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 :
|
* Finally, launch dolphin with the **LD_LIBRARY_PATH** set on the same folder. In one command :
|
||||||
``` bash
|
``` 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
|
* Using -DENABLE_LTO=true will break the Qt build
|
Loading…
Reference in New Issue
Block a user