Fixes.

Roman Telezhynskyi 2024-02-21 19:21:55 +02:00
parent 5ff7a4d32a
commit 260df67b31

@ -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