Skip to content

Commit

Permalink
improvement: removed -no-pch from the build-qt script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart-Steensma committed Feb 2, 2024
1 parent 3ff2bc3 commit bbbb656
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions scripts/build-qt
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,27 @@ build-qt-static() {
"$root/scripts/helpers/download-qt" --root "$source_dir" qt.qt6.661.src

echo "Building Qt with static linking"
rm "$install_dir" -rf || true
mkdir "$install_dir"

export CC=gcc
export CXX=g++
export CFLAGS="-Wall"
rm "$install_dir" -rf || true
mkdir "$install_dir"
src="$source_dir/6.6.1/Src"
"$src/configure" -release -static -prefix "$install_dir" -submodules qtbase,qtmultimedia,qtwayland -no-pch -no-gstreamer -no-pulseaudio -no-alsa -- -S "$src" -B "$src/build" -Wdev -DFFMPEG_DIR="$root/3rdparty/ffmpeg"
"$src/configure" \
-static \
-release \
-prefix "$install_dir" \
-submodules qtbase,qtmultimedia,qtwayland \
-no-alsa \
-no-gstreamer \
-no-pulseaudio \
-- \
-S "$src" \
-B "$src/build" \
-Wdev \
-DFFMPEG_DIR="$root/3rdparty/ffmpeg"

cmake --build "$src/build"
cmake --install "$src/build"
}
Expand Down

0 comments on commit bbbb656

Please sign in to comment.