1 %modules = ( # path to module name map
2 "QtGui" => "$basedir/src/gui",
3 "QtWidgets" => "$basedir/src/widgets",
4 "QtPrintSupport" => "$basedir/src/printsupport",
5 "QtOpenGL" => "$basedir/src/opengl",
6 "QtCore" => "$basedir/src/corelib;^$basedir/src/3rdparty/harfbuzz/src",
7 "QtXml" => "$basedir/src/xml",
8 "QtSql" => "$basedir/src/sql",
9 "QtNetwork" => "$basedir/src/network",
10 "QtTest" => "$basedir/src/testlib",
11 "QtDBus" => "$basedir/src/dbus",
12 "QtConcurrent" => "$basedir/src/concurrent",
13 "QtPlatformSupport" => "$basedir/src/platformsupport",
14 "KHR" => "$basedir/src/3rdparty/angle/include/KHR",
15 "GLES2" => "$basedir/src/3rdparty/angle/include/GLES2",
16 "EGL" => "$basedir/src/3rdparty/angle/include/EGL",
17 "QtZlib" => "$basedir/src/3rdparty/zlib",
19 %moduleheaders = ( # restrict the module headers to those found in relative path
21 @allmoduleheadersprivate = (
24 "qglobal.h" => "QtGlobal",
25 "qendian.h" => "QtEndian",
26 "qconfig.h" => "QtConfig",
27 "qplugin.h" => "QtPlugin",
28 "qalgorithms.h" => "QtAlgorithms",
29 "qcontainerfwd.h" => "QtContainerFwd",
30 "qdebug.h" => "QtDebug",
31 "qevent.h" => "QtEvents",
32 "qnamespace.h" => "Qt",
33 "qnumeric.h" => "QtNumeric",
37 "qtconcurrentmap.h" => "QtConcurrentMap",
38 "qtconcurrentfilter.h" => "QtConcurrentFilter",
39 "qtconcurrentrun.h" => "QtConcurrentRun",
41 %deprecatedheaders = (
43 "QGenericPlugin" => "QtGui/QGenericPlugin",
44 "QGenericPluginFactory" => "QtGui/QGenericPluginFactory"
47 "qplatformmenu_qpa.h" => "qpa/qplatformmenu.h",
48 "QPlatformMenu" => "qpa/qplatformmenu.h",
49 "QPlatformMenuAction" => "qpa/qplatformmenu.h",
50 "QPlatformMenuBar" => "qpa/qplatformmenu.h"
53 "qplatformprintersupport_qpa.h" => "qpa/qplatformprintersupport.h",
54 "QPlatformPrinterSupport" => "qpa/qplatformprintersupport.h",
55 "QPlatformPrinterSupportPlugin" => "XXXXXXXXXXXXXXXXXXXX",
56 "qplatformprintplugin_qpa.h" => "qpa/qplatformprintplugin.h",
57 "QPlatformPrintPlugin" => "qpa/qplatformprintplugin.h"
59 "QtPlatformSupport" => {
60 "qplatforminputcontextfactory_qpa_p.h" => "qpa/qplatforminputcontextfactory_p.h",
61 "qplatforminputcontextplugin_qpa_p.h" => "qpa/qplatforminputcontextplugin_p.h",
62 "QPlatformInputContextPlugin" => "qpa/qplatforminputcontextplugin_p.h"
67 "QVariantHash" => "qvariant.h",
68 "QVariantList" => "qvariant.h",
69 "QVariantMap" => "qvariant.h",
73 @qpa_headers = ( qr/^qplatform/, qr/^qwindowsystem/ );
74 my @angle_headers = ('egl.h', 'eglext.h', 'eglplatform.h', 'gl2.h', 'gl2ext.h', 'gl2platform.h', 'ShaderLang.h', 'khrplatform.h');
75 my @internal_zlib_headers = ( "crc32.h", "deflate.h", "gzguts.h", "inffast.h", "inffixed.h", "inflate.h", "inftrees.h", "trees.h", "zutil.h" );
76 my @zlib_headers = ( "zconf.h", "zlib.h" );
77 my @harfbuzz_headers = ( "harfbuzz-buffer-private.h", "harfbuzz-buffer.h", "harfbuzz-dump.h", "harfbuzz-external.h", "harfbuzz-gdef-private.h", "harfbuzz-gdef.h", "harfbuzz-global.h", "harfbuzz-gpos-private.h", "harfbuzz-gpos.h", "harfbuzz-gsub-private.h", "harfbuzz-gsub.h", "harfbuzz-impl.h", "harfbuzz-open-private.h", "harfbuzz-open.h", "harfbuzz-shape.h", "harfbuzz-shaper-private.h", "harfbuzz-shaper.h", "harfbuzz-stream-private.h", "harfbuzz-stream.h", "harfbuzz.h" );
78 @ignore_headers = ( @internal_zlib_headers );
79 @ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h", @zlib_headers, @angle_headers, @harfbuzz_headers);
80 @ignore_for_qt_begin_header_check = ( "qiconset.h", "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qt_windows.h", @zlib_headers, @angle_headers, @harfbuzz_headers);
81 @ignore_for_qt_begin_namespace_check = ( "qconfig.h", "qconfig-dist.h", "qconfig-large.h", "qconfig-medium.h", "qconfig-minimal.h", "qconfig-small.h", "qfeatures.h", "qatomic_arch.h", "qatomic_windowsce.h", "qt_windows.h", "qatomic_macosx.h", @zlib_headers, @angle_headers, @harfbuzz_headers);
82 %inject_headers = ( "$basedir/src/corelib/global" => [ "qconfig.h" ] );
83 # Module dependencies.
84 # Every module that is required to build this module should have one entry.
85 # Each of the module version specifiers can take one of the following values:
86 # - A specific Git revision.
87 # - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)