File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ qt_install_dir="/opt/qt-static"
66qt_version=" 6.9.1"
77release_flags=" -DCMAKE_BUILD_TYPE=Release"
88opt_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"
910nproc=$( nproc)
1011
1112create_build_dir () {
@@ -94,16 +95,7 @@ build_static_qt() {
9495 -DQT_FEATURE_strip=ON \
9596 -DQT_BUILD_EXAMPLES=OFF \
9697 -DQT_BUILD_TESTS=OFF \
97- -DQT_SKIP_MODULES=qtwebengine \
98- qtwebengine; \
99- qt3d; qt5compat; qtactiveqt; qtcharts; \
100- qtconnectivity; qtdatavis3d; qtdoc; \
101- qtgamepad; qtgraphicaleffects; qthttpserver; \
102- qtimageformats; qtlocation; qtlottie; qtmultimedia; \
103- qtnetworkauth; qtopcua; qtpositioning; qtpurchasing; qtquick3d; \
104- qtquickcontrols2; qtquicktimeline; qtremoteobjects; qtsensors; \
105- tspeech; qtstatemachine; qtsvg; qtvirtualkeyboard; qtwayland; \
106- qtwebchannel; qtwebsockets; qtwebview; qtx11extras; qtxmlpatterns
98+ -DQT_SKIP_MODULES=" $skip_modules "
10799
108100 make -j " $nproc "
109101 sudo make install
You can’t perform that action at this time.
0 commit comments