From 260df67b311553256dc95592a993e8ac4f4580bb Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 21 Feb 2024 19:21:55 +0200 Subject: [PATCH] Fixes. --- Windows-Build-Guide.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/Windows-Build-Guide.md b/Windows-Build-Guide.md index b74ef0c..a2762a2 100644 --- a/Windows-Build-Guide.md +++ b/Windows-Build-Guide.md @@ -85,28 +85,14 @@ Starting from Qt 6, The Qt Company has deprecated QMake in favor of CMake. Howev - The `-r` option allows qmake to look through supplied directories recursively. -3. **Optional: Change Install Prefixes:** - If you want to change the default install prefixes, you can do so with `PREFIX` and `PREFIX_LIB`. - - ```bash - qmake PREFIX=/usr PREFIX_LIB=/usr/lib64 ../Valentina.pro -r - ``` - -4. **Optional: Specify Platform and Compiler Type:** - You may need to specify the platform and compiler type explicitly. For example, `linux-g++` or `linux-clang`. - - ```bash - qmake ../Valentina.pro -r -spec linux-g++ - ``` - -5. **Build Valentina:** +3. **Build Valentina:** To build Valentina, call `nmake` in case of MSVC and `mingw32-make` in case of MinGW. ```bash make ``` -6. **Faster Builds with Multiple Cores:** +4. **Faster Builds with Multiple Cores:** To make the build faster, specify the `-j` flag followed by the number of CPU cores to use. ```bash @@ -141,6 +127,7 @@ or together: ```bash "CONFIG += noTests noRunPath no_ccache noDebugSymbols" +``` ### Running Tests