Qt: Add scripts used for building minimal binary Qt.

This commit is contained in:
BearOso 2023-11-28 18:31:55 -06:00
parent 026307219c
commit ca158abcb6
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
PARAMS="-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:/Qt -DFEATURE_androiddeployqt=OFF -DFEATURE_brotli=OFF -DFEATURE_dbus=OFF -DFEATURE_freetype=OFF -DFEATURE_harfbuzz=OFF -DFEATURE_imageformat_ppm=OFF -DFEATURE_islamiccivilcalendar=OFF -DFEATURE_jalalicalendar=OFF -DFEATURE_lcdnumber=OFF -DFEATURE_movie=OFF -DFEATURE_openssl_linked=OFF -DFEATURE_openssl_runtime=OFF -DFEATURE_optimize_size=ON -DFEATURE_pdf=ON -DFEATURE_printsupport=ON -DFEATURE_printer=ON -DFEATURE_shani=OFF -DFEATURE_sql=OFF -DFEATURE_static=ON -DFEATURE_system_doubleconversion=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_harfbuzz=OFF -DFEATURE_system_jpeg=OFF -DFEATURE_system_libb2=OFF -DFEATURE_system_pcre2=OFF -DFEATURE_system_png=OFF -DFEATURE_system_proxies=OFF -DFEATURE_system_textmarkdownreader=OFF -DFEATURE_system_zlib=OFF -DFEATURE_testlib=OFF -DFEATURE_textodfwriter=OFF -DFEATURE_vkgen=OFF -DFEATURE_vulkan=OFF -DFEATURE_zstd=OFF -DQT_BUILD_EXAMPLES_BY_DEFAULT=OFF -DQT_BUILD_TESTS_BY_DEFAULT=OFF"
cmake .. -G Ninja $PARAMS

View File

@ -0,0 +1,2 @@
#!/bin/sh
CMAKE_PREFIX_PATH=../../../qt/lib/cmake cmake .. -G Ninja $PARAMS

View File

@ -0,0 +1,4 @@
#!/bin/sh
PARAMS="-DFEATURE_clang=OFF -DFEATURE_clangcpp=OFF -DFEATURE_designer=off -DFEATURE_kmap2qmap=OFF -DFEATURE_pixeltool=OFF -DFEATURE_qev=OFF -DFEATURE_qtattributionsscanner=OFF -DFEATURE_qtdiag=OFF -DFEATURE_qtplugininfo=OFF -DFEATURE_qdoc=OFF"
CMAKE_PREFIX_PATH=../../../qt/lib/cmake cmake .. -G Ninja $PARAMS