From 16a0c7ee6cfd2f761c52fd4a23e5bc67081f49a5 Mon Sep 17 00:00:00 2001 From: DenisD3D Date: Wed, 3 Apr 2024 19:56:38 +0200 Subject: [PATCH] Update readme.md --- .github/workflows/cmake-multi-platform.yml | 2 +- readme.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index cbad7b0..4ec5ed3 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -36,7 +36,7 @@ jobs: run: mkdir build - name: Configure CMake - run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DZLIB_TAG=develop -DMZ_FORCE_FETCH_LIBS=ON -DZSTD_TAG=release + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} - name: Build with CMake run: cmake --build build --config ${{ matrix.build_type }} diff --git a/readme.md b/readme.md index 931c0c8..308e8f1 100644 --- a/readme.md +++ b/readme.md @@ -8,11 +8,14 @@ ```bash git clone --recurse-submodules https://github.com/DenisD3D/SnakeQT.git ``` -4. Run cmake in the root directory of the project. +4. On Windows, set the environment variable `Qt5_DIR` to the directory containing the `Qt5Config.cmake` file (e.g. `C:\Qt\5.15.2\mingw81_64\lib\cmake\Qt5`) +5. Run cmake in the root directory of the project. ```bash cmake -S . -B build cmake --build build ``` +6. On Windows, define QT_QPA_PLATFORM_PLUGIN_PATH to the directory containing the `qwindows.dll` file (e.g. `C:\Qt\5.15.2\mingw81_64\plugins\platforms`) before running SnakeQT.exe. +7. Run the executable in the build directory. ## Tile preprocessing using imageMagick