Skip to content

Commit e6dad3d

Browse files
fix: missing dependency
1 parent f8ece61 commit e6dad3d

1 file changed

Lines changed: 20 additions & 29 deletions

File tree

scripts/ci_dev_linux.sh

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ qt_install_dir="/opt/qt-static"
66
qt_version="6.9.1"
77
release_flags="-DCMAKE_BUILD_TYPE=Release"
88
opt_flags="-O3 -march=native -flto -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ftree-vectorize -fvisibility=hidden"
9-
skip_modules="qt3d qt5compat qtactiveqt qtcharts qtconnectivity qtdatavis3d qtdoc qtgamepad qtgraphicaleffects qthttpserver qtimageformats qtlocation qtlottie qtmultimedia qtnetworkauth qtopcua qtpositioning qtpurchasing qtquick3d qtquickcontrols2 qtquicktimeline qtremoteobjects qtsensors tspeech qtstatemachine qtsvg qtvirtualkeyboard qtwayland qtwebchannel qtwebsockets qtwebview qtx11extras qtxmlpatterns"
109
nproc=$(nproc)
1110

1211
create_build_dir() {
@@ -15,34 +14,24 @@ create_build_dir() {
1514

1615
install_base() {
1716
sudo apt-get update
18-
sudo apt-get install -y git cmake ninja-build desktop-file-utils \
19-
clang libnotify-dev libsodium-dev \
20-
build-essential perl python3 \
21-
libfontconfig1-dev libfreetype6-dev \
22-
libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev \
23-
libxi-dev libxrender-dev libxcb1-dev libxcb-glx0-dev \
24-
libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev \
25-
libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev \
26-
libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev \
27-
libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev \
28-
libxkbcommon-dev libxkbcommon-x11-dev \
29-
libgl1-mesa-dev \
30-
libegl1-mesa-dev \
31-
libgles2-mesa-dev \
32-
libdrm-dev \
33-
libxcb-dri3-dev \
34-
libxkbfile-dev \
35-
libxtst-dev \
36-
libxshmfence-dev \
37-
libxrandr-dev \
38-
libxcursor-dev \
39-
libxcomposite-dev \
40-
libudev-dev \
41-
libdbus-1-dev \
42-
gperf \
43-
python3-html5lib \
44-
libnss3-dev \
45-
libharfbuzz-dev
17+
sudo apt-get install -y cmake ninja-build desktop-file-utils \
18+
clang-17 lldb-17 libclang-17-dev \
19+
build-essential perl python3 python3-pip \
20+
libfontconfig1-dev libfreetype6-dev \
21+
libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev \
22+
libxi-dev libxrender-dev libxcb1-dev libxcb-glx0-dev \
23+
libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev \
24+
libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev \
25+
libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev \
26+
libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev \
27+
libxkbcommon-dev libxkbcommon-x11-dev \
28+
libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev \
29+
libdrm-dev libxkbfile-dev libxtst-dev libxshmfence-dev \
30+
libxrandr-dev libxcursor-dev libxcomposite-dev libudev-dev \
31+
libdbus-1-dev gperf libnss3-dev libharfbuzz-dev \
32+
libprotobuf-dev protobuf-compiler libssl-dev
33+
34+
sudo pip3 install html5lib spdx-tools
4635
}
4736

4837
download_qt_source() {
@@ -64,6 +53,8 @@ build_static_qt() {
6453

6554
cd "$qt_build_dir" || exit 1
6655

56+
local skip_modules="qtwebengine;qt3d;qt5compat;qtactiveqt;qtcharts;qtconnectivity;qtdatavis3d;qtdoc;qtgamepad;qtgraphicaleffects;qthttpserver;qtimageformats;qtlocation;qtlottie;qtmultimedia;qtnetworkauth;qtopcua;qtpositioning;qtpurchasing;qtquick3d;qtquickcontrols2;qtquicktimeline;qtremoteobjects;qtsensors;qtspeech;qtstatemachine;qtsvg;qtvirtualkeyboard;qtwayland;qtwebchannel;qtwebsockets;qtwebview;qtx11extras;qtxmlpatterns"
57+
6758
cmake "../qt-src/qt-everywhere-src-$qt_version" \
6859
-G "Ninja" \
6960
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)