fort/deploy/qt-build.bat

54 lines
2.0 KiB
Batchfile
Raw Normal View History

2020-01-13 15:31:08 +00:00
@rem Open "Visual Studio .NET Command Prompt" to run this script
@setlocal
@cd %~dp0
@echo off
@set QT_PATH=../../../qt
2020-01-13 15:31:08 +00:00
@set TARGET_PATH=build-qt
md %TARGET_PATH%
cd %TARGET_PATH%
%QT_PATH%/configure -release -force-debug-info -optimize-size -c++std c++20 ^
2023-12-19 16:27:17 +00:00
-static -unity-build -feature-relocatable -prefix "%~dp0static" ^
-opensource -confirm-license ^
2023-02-06 10:34:26 +00:00
%* ^
-nomake examples -nomake tests ^
^
-submodules qtbase ^
2020-01-13 15:31:08 +00:00
^
2020-06-21 12:18:13 +00:00
-no-feature-columnview -no-feature-commandlinkbutton ^
2020-01-13 15:31:08 +00:00
-no-feature-concatenatetablesproxymodel ^
2021-02-09 11:06:42 +00:00
-no-feature-concurrent -no-feature-datawidgetmapper -no-feature-dial ^
-no-feature-dockwidget -no-feature-filesystemwatcher -no-feature-fontcombobox ^
2021-04-09 09:09:16 +00:00
-no-feature-fontdialog -no-feature-inputdialog ^
-no-feature-hijricalendar -no-feature-identityproxymodel ^
2020-01-13 15:31:08 +00:00
-no-feature-islamiccivilcalendar -no-feature-jalalicalendar ^
2020-04-08 05:43:15 +00:00
-no-feature-itemmodeltester -no-feature-lcdnumber -no-feature-listwidget ^
2020-01-13 15:31:08 +00:00
-no-feature-mdiarea -no-feature-movie -no-feature-pdf -no-feature-picture ^
2021-02-09 11:06:42 +00:00
-no-feature-printsupport -no-feature-raster-64bit -no-feature-splashscreen ^
-no-feature-textbrowser -no-feature-textodfwriter ^
2020-01-13 15:31:08 +00:00
-no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview ^
-no-feature-whatsthis -no-feature-wizard ^
^
2020-01-23 02:59:44 +00:00
-no-feature-style-android -no-feature-style-mac -no-feature-style-windowsvista ^
^
-no-feature-mimetype-database -no-feature-sql ^
2021-03-30 10:32:02 +00:00
^
-no-feature-getifaddrs -no-feature-ipv6ifname -no-feature-libproxy ^
-no-feature-openssl -no-feature-openssl-hash ^
-schannel -ssl -no-feature-sctp -no-feature-udpsocket ^
2021-03-30 10:32:02 +00:00
-no-feature-networkproxy -no-feature-socks5 -no-feature-networkdiskcache ^
-no-feature-dnslookup -no-feature-sspi -no-feature-networklistmanager ^
2020-01-13 15:31:08 +00:00
^
-no-opengl -no-feature-opengl -no-feature-directfb ^
^
2021-02-09 11:06:42 +00:00
-no-feature-gif -no-feature-jpeg ^
^
-no-feature-androiddeployqt -no-feature-dbus -no-feature-macdeployqt ^
-no-feature-vkgen -no-feature-vulkan -no-feature-windeployqt
2020-01-13 15:31:08 +00:00
cmake --build . --parallel && cmake --install .