mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 19:42:45 +01:00
Update .gitlab/media/QtCreator_install.png, README.md files
This commit is contained in:
parent
03d43f4ee4
commit
e80887cd0d
BIN
.gitlab/media/QtCreator_install.png
Normal file
BIN
.gitlab/media/QtCreator_install.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
22
README.md
22
README.md
@ -88,12 +88,15 @@ chmod +x install-dependencies.sh
|
|||||||
* stomt-qt-sdk
|
* stomt-qt-sdk
|
||||||
* qt-google-analytics
|
* qt-google-analytics
|
||||||
* qt-breakpad
|
* qt-breakpad
|
||||||
5. **Follow the steps below for your OS**. Then open the CMakeLists.txt via QtCreator.
|
5. **Follow the steps below for your OS**.
|
||||||
6. Add install to the build steps. Projects -> Build -> Add Build Step -> Select Build -> Select "install" .
|
6. Open the CMakeLists.txt via QtCreator.
|
||||||
* CMake -> Check if cmake is listed there, otherwise add it
|
7. Add a second build step at: Projects -> Build -> Add Build Step -> Select Build -> Select "install" .
|
||||||
* Kits -> CMakeGenerator -> Change... (Otherwhise your builds are slow!)
|
|
||||||
* Generator: Ninja
|
<div>
|
||||||
* Extra Generator: CodeBlocks
|
<img width="100%" height="auto" src=".gitlab/media/QtCreator_install.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
8. Add CMake variables
|
||||||
* Add CMAKE_TOOLCHAIN_FILE and VCPKG_TARGET_TRIPLET
|
* Add CMAKE_TOOLCHAIN_FILE and VCPKG_TARGET_TRIPLET
|
||||||
* Extras -> Tools -> Kits -> <Your Kit> -> CMake Configuration -> Append this:
|
* Extras -> Tools -> Kits -> <Your Kit> -> CMake Configuration -> Append this:
|
||||||
* CMAKE_TOOLCHAIN_FILE:STRING=%{CurrentProject:Path}/ScreenPlay/Common/vcpkg/scripts/buildsystems/vcpkg.cmake
|
* CMAKE_TOOLCHAIN_FILE:STRING=%{CurrentProject:Path}/ScreenPlay/Common/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||||
@ -104,7 +107,12 @@ chmod +x install-dependencies.sh
|
|||||||
<img width="100%" height="auto" src=".gitlab/media/QtCreator_kit.png">
|
<img width="100%" height="auto" src=".gitlab/media/QtCreator_kit.png">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
7. Press build (the green play button). This will compile the project and copy all necessary files into your Qt installation.
|
9. Check if Ninja is selected
|
||||||
|
* Extras -> Tools -> Kits -> <Your Kit> -> CMakeGenerator -> Change to:
|
||||||
|
* Generator: Ninja
|
||||||
|
* Extra Generator: CodeBlocks
|
||||||
|
10. Save and close the settings.
|
||||||
|
11. Press build (the big green play button). This will compile the project and copy all necessary files into your Qt installation.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
1. [Download and install MSVC 2019 Community](https://visualstudio.microsoft.com/vs/community/)
|
1. [Download and install MSVC 2019 Community](https://visualstudio.microsoft.com/vs/community/)
|
||||||
|
Loading…
Reference in New Issue
Block a user