Fix x86 for Haiku and maybe others

This commit is contained in:
quietok(david) 2021-09-13 00:47:00 -05:00 committed by Felix Queißner
parent 2cdf23f692
commit 8a7dfe0b1a
2 changed files with 14 additions and 0 deletions

View File

@ -142,6 +142,17 @@ Use QtCreator to build `./src/kristall.pro` with default settings.
- `openssl_devel` (should be preinstalled)
2. Use `make` to build the executable
#### Haiku x86
1. Install the following packages with `pkgman`:
- `qt5_x86`
- `qt5_x86_devel`
- `qt5_x86_tools`
- `libiconv_x86_devel`
- `openssl_x86_devel` (should be preinstalled)
2. run `setarch x86`
3. Use `make` to build the executable
## Manual Installation
### Unix / XDG

View File

@ -34,6 +34,9 @@ QMAKE_CXXFLAGS += -Wno-unused-parameter -Werror=return-type
QMAKE_CXXFLAGS += -std=c++17
CONFIG += c++17
# avoid x86 OOM errors
CONFIG += resources_big
win32-msvc {
# message("Use windows/msvc build")
QMAKE_CFLAGS -= -Wno-unused-parameter