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",
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    "QtAccessibilitySupport" => "$basedir/src/platformsupport/accessibility",
14    "QtWindowsUIAutomationSupport" => "$basedir/src/platformsupport/windowsuiautomation",
15    "QtLinuxAccessibilitySupport" => "$basedir/src/platformsupport/linuxaccessibility",
16    "QtClipboardSupport" => "$basedir/src/platformsupport/clipboard",
17    "QtDeviceDiscoverySupport" => "$basedir/src/platformsupport/devicediscovery",
18    "QtEventDispatcherSupport" => "$basedir/src/platformsupport/eventdispatchers",
19    "QtFontDatabaseSupport" => "$basedir/src/platformsupport/fontdatabases",
20    "QtInputSupport" => "$basedir/src/platformsupport/input",
21    "QtXkbCommonSupport" => "$basedir/src/platformsupport/input/xkbcommon",
22    "QtPlatformCompositorSupport" => "$basedir/src/platformsupport/platformcompositor",
23    "QtServiceSupport" => "$basedir/src/platformsupport/services",
24    "QtThemeSupport" => "$basedir/src/platformsupport/themes",
25    "QtGraphicsSupport" => "$basedir/src/platformsupport/graphics",
26    "QtEglSupport" => "$basedir/src/platformsupport/eglconvenience",
27    "QtFbSupport" => "$basedir/src/platformsupport/fbconvenience",
28    "QtGlxSupport" => "$basedir/src/platformsupport/glxconvenience",
29    "QtKmsSupport" => "$basedir/src/platformsupport/kmsconvenience",
30    "QtEdidSupport" => "$basedir/src/platformsupport/edid",
31    "QtVulkanSupport" => "$basedir/src/platformsupport/vkconvenience",
32    "QtPlatformHeaders" => "$basedir/src/platformheaders",
33    "QtANGLE/KHR" => "!$basedir/src/3rdparty/angle/include/KHR",
34    "QtANGLE/GLES2" => "!$basedir/src/3rdparty/angle/include/GLES2",
35    "QtANGLE/GLES3" => "!$basedir/src/3rdparty/angle/include/GLES3",
36    "QtANGLE/EGL" => "!$basedir/src/3rdparty/angle/include/EGL",
37    "QtZlib" => "!>$basedir/src/corelib;$basedir/src/3rdparty/zlib",
38    "QtOpenGLExtensions" => "$basedir/src/openglextensions",
39    "QtEglFSDeviceIntegration" => "$basedir/src/plugins/platforms/eglfs",
40);
41%moduleheaders = ( # restrict the module headers to those found in relative path
42    "QtEglFSDeviceIntegration" => "api",
43);
44@allmoduleheadersprivate = (
45);
46%classnames = (
47    "qglobal.h" => "QtGlobal",
48    "qendian.h" => "QtEndian",
49    "qconfig.h" => "QtConfig",
50    "qplugin.h" => "QtPlugin",
51    "qalgorithms.h" => "QtAlgorithms",
52    "qcontainerfwd.h" => "QtContainerFwd",
53    "qdebug.h" => "QtDebug",
54    "qevent.h" => "QtEvents",
55    "qnamespace.h" => "Qt",
56    "qnumeric.h" => "QtNumeric",
57    "qvariant.h" => "QVariantHash,QVariantList,QVariantMap",
58    "qvulkanfunctions.h" => "QVulkanFunctions,QVulkanDeviceFunctions",
59    "qgl.h" => "QGL",
60    "qtsqlglobal.h" => "QSql",
61    "qssl.h" => "QSsl",
62    "qtest.h" => "QTest",
63    "qtconcurrentmap.h" => "QtConcurrentMap",
64    "qtconcurrentfilter.h" => "QtConcurrentFilter",
65    "qtconcurrentrun.h" => "QtConcurrentRun",
66    "qpassworddigestor.h" => "QPasswordDigestor",
67);
68%deprecatedheaders = (
69    "QtGui" =>  {
70        "QGenericPlugin" => "QtGui/QGenericPlugin",
71        "QGenericPluginFactory" => "QtGui/QGenericPluginFactory"
72    },
73    "QtSql" => {
74        "qsql.h" => "QtSql/qtsqlglobal.h"
75    },
76    "QtDBus" => {
77        "qdbusmacros.h" => "QtDbus/qtdbusglobal.h"
78    },
79    "QtTest" => {
80        "qtest_global.h" => "QtTest/qttestglobal.h"
81    }
82);
83
84@qpa_headers = ( qr/^(?!qplatformheaderhelper)qplatform/, qr/^qwindowsystem/ );
85my @angle_headers = ('egl.h', 'eglext.h', 'eglext_angle.h', 'eglplatform.h', 'gl2.h', 'gl2ext.h', 'gl2ext_angle.h', 'gl2platform.h', 'ShaderLang.h', 'khrplatform.h');
86my @internal_zlib_headers = ( "crc32.h", "deflate.h", "gzguts.h", "inffast.h", "inffixed.h", "inflate.h", "inftrees.h", "trees.h", "zutil.h" );
87my @zlib_headers = ( "zconf.h", "zlib.h" );
88@ignore_headers = ( @internal_zlib_headers );
89@ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h", @zlib_headers, @angle_headers);
90@ignore_for_qt_begin_namespace_check = ( "qt_windows.h", @zlib_headers, @angle_headers);
91%inject_headers = (
92    "$basedir/src/corelib/global" => [ "qconfig.h", "qconfig_p.h" ],
93    "$basedir/src/gui/vulkan" => [ "^qvulkanfunctions.h", "^qvulkanfunctions_p.h" ]
94);
95