diff --git a/README.md b/README.md index 43561434..ce3718e6 100644 --- a/README.md +++ b/README.md @@ -88,18 +88,31 @@ chmod +x install-dependencies.sh * stomt-qt-sdk * qt-google-analytics * qt-breakpad -5. **Follow the steps below for your OS**. Then open the CMakeLists.txt via QtCreator. -6. Add install to the build steps. Projects -> Build -> Add Build Step -> Select Build -> Select "install" . - * CMake -> Check if cmake is listed there, otherwise add it - * Kits -> CMakeGenerator -> Change... (Otherwhise your builds are slow!) - * Generator: Ninja - * Extra Generator: CodeBlocks +5. **Follow the steps below for your OS**. +6. Open the CMakeLists.txt via QtCreator. **This can take some time until QtCreator parses all files!** +7. Add a second build step at: Projects -> Build -> Add Build Step -> Select Build -> Select "install" . + +
+ +
+ +8. Add CMake variables * Add CMAKE_TOOLCHAIN_FILE and VCPKG_TARGET_TRIPLET * Extras -> Tools -> Kits -> -> CMake Configuration -> Append this: * CMAKE_TOOLCHAIN_FILE:STRING=%{CurrentProject:Path}/Common/vcpkg/scripts/buildsystems/vcpkg.cmake * VCPKG_TARGET_TRIPLET:STRING=x64-windows * or Linux: x64-linux MacOSX: x64-osx -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 -> -> 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 1. [Download and install MSVC 2019 Community](https://visualstudio.microsoft.com/vs/community/)