File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,24 +21,24 @@ build_qt_static() {
2121 mkdir -p " $qt_src_dir "
2222 cd " $qt_src_dir " || exit
2323
24- git clone https://github.com/qt/qtbase .git .
24+ git clone https://github.com/qt/qt5 .git .
2525 git checkout v6.5.2
2626 perl init-repository -f --module-subset=qtbase
2727
2828 cd qtbase || exit
2929
30- ./configure -static -release \
31- -prefix " $qt_static_dir " \
32- -platform linux-clang \
33- -opensource -confirm-license \
34- -nomake examples -nomake tests \
35- -developer-build \
36- -- -Wno-dev CXXFLAGS+=" -DFORCE_STATIC_QT"
30+ cmake .. \
31+ -G " Ninja" \
32+ -DCMAKE_INSTALL_PREFIX=" $qt_static_dir " \
33+ -DFORCE_STATIC_QT \
34+ -DBUILD_SHARED_LIBS=OFF \
35+ -DINPUT_opengl=yes \
36+ -DINPUT_widgets=yes \
37+ -DCMAKE_BUILD_TYPE=Release
3738
38- cmake --build . --parallel " $nproc "
39- cmake --install . --prefix " $qt_static_dir "
39+ cmake --build . --target install
4040
41- cd .. && cd ..
41+ cd ../ ..
4242}
4343
4444build_zclipboard () {
You can’t perform that action at this time.
0 commit comments