Debian Codegraph @

project/bundles/3rdparty/ext_qt6/config-qt6-macos.cmake

raw
1 ################################################################################
2 #
3 # Script to build Qt 6 - config for MacOS
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 -cmake-generator Ninja # Qt6 use Ninja build system by default.
16
17 -prefix ${EXTPREFIX_qt} # Framework install path.
18
19 -release # no debug symbols
20 -opensource # Build open-source framework edition
21 -confirm-license # Silency ack the license
22
23 -sql-mysql # Compile MySql SQL plugin
24 -sql-sqlite # Compile Sqlite SQL plugin
25 -fontconfig
26 -system-freetype # Use system font rendering lib https://doc.qt.io/qt-5/qtgui-attribution-freetype.html
27 -system-zlib # Do not share the internal zlib and promote system lib instead to prevent mixed versions in client area.
28 -icu
29
30 # Compilation rules to disable.
31
32 -nomake tests # Do not build test codes
33 -nomake examples # Do not build basis example codes
34 -no-qml-debug
35
36 # Compilation rules to disable.
37
38 -no-mtdev
39 -no-journald
40 -no-syslog
41 -no-tslib
42 -no-directfb
43 -no-linuxfb
44 -no-libproxy
45 -no-pch
46
47 # Specific 3rdParty libraries to enable.
48
49 -qt-pcre
50 -qt-harfbuzz
51
52 # Qt components to disable
53 # https://doc.qt.io/qt-6/qtmodules.html
54
55 -skip qt3d
56 -skip qtactiveqt
57 -skip qtcanvas3d
58 -skip qtcoap
59 -skip qtconnectivity
60 -skip qtdatavis3d
61 -skip qtdoc
62 -skip qtfeedback
63 -skip qtgamepad
64 -skip qtgraphs
65 -skip qtgraphicaleffects
66 -skip qtlanguageserver
67 -skip qtlottie
68 -skip qtopcua
69 -skip qtpim
70 -skip qtqa
71 -skip qtpurchasing
72 -skip qtquick3d
73 -skip qtquick3dphysics
74 -skip qtquickcontrols2 # QtQuick support for QML
75 -skip qtquickeffectmaker
76 -skip qtscript # No need scripting (deprecated)
77 -skip qtquicktimeline
78 -skip qtremoteobjects
79 -skip qtrepotools
80 -skip qtserialbus
81 -skip qtvirtualkeyboard
82 -skip qtwinextras # For Windows devices only
83 -skip qtandroidextras # For embedded devices only
84 -skip qtmacextras # For MacOS devices only
85 -skip qtwebglplugin # No need browser OpenGL extension support
86 )
87
88 MESSAGE(STATUS "Use MacOS configuration:")
89 MESSAGE(STATUS ${QT_CONFIG})