Add Qt Creator instructions
This commit is contained in:
25
README.md
25
README.md
@@ -47,6 +47,30 @@ make
|
|||||||
***Note:*** To use SDL2_image, SDL2_ttf or SDL2_gfx, you should uncomment
|
***Note:*** To use SDL2_image, SDL2_ttf or SDL2_gfx, you should uncomment
|
||||||
some instructions in the CMakeLists.txt file and re-execute `cmake ..` and `make`
|
some instructions in the CMakeLists.txt file and re-execute `cmake ..` and `make`
|
||||||
|
|
||||||
|
### Open the project with an IDE under Linux
|
||||||
|
|
||||||
|
#### Open with Qt Creator
|
||||||
|
|
||||||
|
[Qt Creator][] is a cross-platform C/C++ IDE, originally dedicated for the Qt framework.
|
||||||
|
It handle natively CMake projects and provide an efficient code completion.
|
||||||
|
|
||||||
|
*Install Qt creator:*
|
||||||
|
|
||||||
|
Install from Debian/Ubuntu repo:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo apt install qtcreator
|
||||||
|
```
|
||||||
|
|
||||||
|
Online installer: https://www.qt.io/download-thank-you?hsLang=en<br>
|
||||||
|
Offline installer: https://www.qt.io/offline-installers
|
||||||
|
|
||||||
|
*Open the project:*<br>
|
||||||
|
Run Qt Creator, use `Open Files or Project ...` and select the `CMakeLists.txt`
|
||||||
|
file of the cloned project.<br>
|
||||||
|
Finally, build and run the project.
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is distributed under the terms of the MIT license
|
This project is distributed under the terms of the MIT license
|
||||||
@@ -60,3 +84,4 @@ This project is distributed under the terms of the MIT license
|
|||||||
[SDL2_image]: https://www.libsdl.org/projects/SDL_image
|
[SDL2_image]: https://www.libsdl.org/projects/SDL_image
|
||||||
[SDL2_ttf]: https://www.libsdl.org/projects/SDL_ttf
|
[SDL2_ttf]: https://www.libsdl.org/projects/SDL_ttf
|
||||||
[SDL2_gfx]: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx
|
[SDL2_gfx]: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx
|
||||||
|
[Qt Creator]: https://doc.qt.io/qtcreator
|
||||||
|
|||||||
Reference in New Issue
Block a user