| 1 |
################################################################################ |
| 2 |
# |
| 3 |
# Script to build Qt 6 - config for Windows |
| 4 |
# See option details on config-help text file |
| 5 |
# |
| 6 |
# Copyright (c) 2015-2026 by Gilles Caulier <caulier dot gilles at gmail dot com> |
| 7 |
# |
| 8 |
# Redistribution and use is allowed according to the terms of the BSD license. |
| 9 |
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. |
| 10 |
# |
| 11 |
################################################################################ |
| 12 |
|
| 13 |
LIST(APPEND QT_CONFIG |
| 14 |
|
| 15 |
# Framework install path. |
| 16 |
-prefix ${EXTPREFIX_qt} |
| 17 |
|
| 18 |
-openssl # Enable openssl support |
| 19 |
-I ${EXTPREFIX}/include # For openssl |
| 20 |
-L ${EXTPREFIX}/lib # For openssl |
| 21 |
|
| 22 |
# Compilation rules to enable. |
| 23 |
-release # no debug symbols |
| 24 |
-opensource # Build open-source framework edition |
| 25 |
-confirm-license # Silency ack the license |
| 26 |
-opengl desktop # Enable OpenGL support from Desktop |
| 27 |
-mp # Use multiple processor while compiling if possible |
| 28 |
-shared # Build shared framework libraries |
| 29 |
-sql-sqlite # Enable Sqlite plugin supportm |
| 30 |
|
| 31 |
# Compilation rules to disable. |
| 32 |
-nomake tests # Do not build test codes |
| 33 |
-nomake examples # Do not build basis example codes |
| 34 |
-no-compile-examples # Do not build extra example codes |
| 35 |
# -no-icu # Do not support ICU: https://wiki.qt.io/Qt_5_ICU |
| 36 |
# -no-angle # Do not compile Angle API support https://wiki.qt.io/Qt_5_on_Windows_ANGLE_and_OpenGL |
| 37 |
# -no-mtdev # Do not support multi-touch |
| 38 |
# -no-libproxy # Do not support network proxy |
| 39 |
|
| 40 |
# Specific 3rdParty libraries to enable. |
| 41 |
-qt-zlib # Use internal Z compression lib |
| 42 |
-qt-libpng # Use internal PNG lib |
| 43 |
-qt-libjpeg # Use internal JPEG lib |
| 44 |
-qt-pcre # Use internal regular expression lib https://doc.qt.io/archives/qt-5.8/qtcore-attribution-pcre.html |
| 45 |
-qt-harfbuzz # Use internal OpenType lib |
| 46 |
-qt-freetype # Use internal font rendering lib https://doc.qt.io/qt-5/qtgui-attribution-freetype.html |
| 47 |
|
| 48 |
-skip qt3d |
| 49 |
-skip qtactiveqt |
| 50 |
-skip qtcanvas3d |
| 51 |
-skip qtcharts |
| 52 |
-skip qtcoap |
| 53 |
-skip qtconnectivity |
| 54 |
-skip qtdatavis3d |
| 55 |
-skip qtdoc |
| 56 |
-skip qtfeedback |
| 57 |
-skip qtgamepad |
| 58 |
-skip qtgraphicaleffects |
| 59 |
-skip qtlanguageserver |
| 60 |
-skip qtlocation |
| 61 |
-skip qtlottie |
| 62 |
-skip qtopcua |
| 63 |
-skip qtpim |
| 64 |
-skip qtpositioning |
| 65 |
-skip qtqa |
| 66 |
-skip qtpurchasing |
| 67 |
-skip qtquick3d |
| 68 |
-skip qtquick3dphysics |
| 69 |
-skip qtquickcontrols # QtQuick support ==> QWebEngine dependency |
| 70 |
-skip qtquickcontrols2 # QtQuick support for QML |
| 71 |
-skip qtscript # No need scripting (deprecated) |
| 72 |
-skip qtquicktimeline |
| 73 |
-skip qtremoteobjects |
| 74 |
-skip qtrepotools |
| 75 |
-skip qtvirtualkeyboard |
| 76 |
-skip qtnetworkauth # No need network authentication support. |
| 77 |
-skip qtandroidextras # For embedded devices only |
| 78 |
-skip qtmacextras # For MacOS devices only |
| 79 |
-skip qtwebglplugin |
| 80 |
-skip qtwebview |
| 81 |
-skip qtwebengine # No need Chromium browser support. |
| 82 |
-skip qtwebchannel # QtWebChannel support ==> QWebEngine dependency |
| 83 |
) |
| 84 |
|
| 85 |
MESSAGE(STATUS "Use Windows configuration:") |
| 86 |
MESSAGE(STATUS ${QT_CONFIG}) |
| 87 |
|