4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-06 22:49:35 +00:00
CQtDeployer/staticBuild.sh
2018-08-30 10:04:00 +03:00

17 lines
330 B
Bash
Executable File

#!/bin/bash
cd qtBase
git clean -xfd
./configure -confirm-license -release -optimize-size -static -no-opengl -no-openssl -opensource -nomake tests -nomake examples -no-gui -no-widgets -no-dbus -no-accessibility
make -j$(nproc)
cd ..
export PATH=$PATH:/qtBase
./qtBase/bin/qmake CQtDeployer.pro
make -j$(nproc)
strip build/*