make %inject_headers a per-module config value
[profile/ivi/qtbase.git] / sync.profile
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     "QtPlatformSupport" => "$basedir/src/platformsupport",
14 );
15 %moduleheaders = ( # restrict the module headers to those found in relative path
16 );
17 @allmoduleheadersprivate = (
18 );
19 %classnames = (
20     "qglobal.h" => "QtGlobal",
21     "qendian.h" => "QtEndian",
22     "qconfig.h" => "QtConfig",
23     "qplugin.h" => "QtPlugin",
24     "qalgorithms.h" => "QtAlgorithms",
25     "qcontainerfwd.h" => "QtContainerFwd",
26     "qdebug.h" => "QtDebug",
27     "qevent.h" => "QtEvents",
28     "qnamespace.h" => "Qt",
29     "qssl.h" => "QSsl",
30     "qtest.h" => "QTest",
31     "qtconcurrentmap.h" => "QtConcurrentMap",
32     "qtconcurrentfilter.h" => "QtConcurrentFilter",
33     "qtconcurrentrun.h" => "QtConcurrentRun",
34 );
35 %mastercontent = (
36     "core" => "#include <QtCore/QtCore>\n",
37     "gui" => "#include <QtGui/QtGui>\n",
38     "printsupport" => "#include <QtPrintSupport/QtPrintSupport>\n",
39     "widgets" => "#include <QtWidgets/QtWidgets>\n",
40     "network" => "#include <QtNetwork/QtNetwork>\n",
41     "opengl" => "#include <QtOpenGL/QtOpenGL>\n",
42     "xml" => "#include <QtXml/QtXml>\n",
43     "concurrent" => "#include <QtConcurrent/QtConcurrent>\n",
44 );
45 %modulepris = (
46     "QtCore" => "$basedir/src/modules/qt_core.pri",
47     "QtDBus" => "$basedir/src/modules/qt_dbus.pri",
48     "QtGui" => "$basedir/src/modules/qt_gui.pri",
49     "QtPrintSupport" => "$basedir/src/modules/qt_printsupport.pri",
50     "QtWidgets" => "$basedir/src/modules/qt_widgets.pri",
51     "QtNetwork" => "$basedir/src/modules/qt_network.pri",
52     "QtOpenGL" => "$basedir/src/modules/qt_opengl.pri",
53     "QtSql" => "$basedir/src/modules/qt_sql.pri",
54     "QtTest" => "$basedir/src/modules/qt_testlib.pri",
55     "QtXml" => "$basedir/src/modules/qt_xml.pri",
56     "QtConcurrent" => "$basedir/src/modules/qt_concurrent.pri",
57     "QtPlatformSupport" => "$basedir/src/modules/qt_platformsupport.pri",
58 );
59 %deprecatedheaders = (
60     "QtGui" =>  {
61         "qplatformaccessibility_qpa.h" => "qpa/qplatformaccessibility.h",
62         "QPlatformAccessibility" => "qpa/qplatformaccessibility.h",
63         "qplatformbackingstore_qpa.h" => "qpa/qplatformbackingstore.h",
64         "QPlatformBackingStore" => "qpa/qplatformbackingstore.h",
65         "qplatformclipboard_qpa.h" => "qpa/qplatformclipboard.h",
66         "QPlatformClipboard" => "qpa/qplatformclipboard.h",
67         "QPlatformColorDialogHelper" => "qpa/qplatformdialoghelper.h",
68         "qplatformcursor_qpa.h" => "qpa/qplatformcursor.h",
69         "QPlatformCursor" => "qpa/qplatformcursor.h",
70         "QPlatformCursorImage" => "qpa/qplatformcursor.h",
71         "QPlatformCursorPrivate" => "qpa/qplatformcursor.h",
72         "qplatformdrag_qpa.h" => "qpa/qplatformdrag.h",
73         "QPlatformDrag" => "qpa/qplatformdrag.h",
74         "QPlatformDragQtResponse" => "qpa/qplatformdrag.h",
75         "QPlatformDropQtResponse" => "qpa/qplatformdrag.h",
76         "qplatformdialoghelper_qpa.h" => "qpa/qplatformdialoghelper.h",
77         "QPlatformDialogHelper" => "qpa/qplatformdialoghelper.h",
78         "QPlatformFileDialogHelper" => "qpa/qplatformdialoghelper.h",
79         "qplatformfontdatabase_qpa.h" => "qpa/qplatformfontdatabase.h",
80         "QPlatformFontDatabase" => "qpa/qplatformfontdatabase.h",
81         "qplatforminputcontext_qpa.h" => "qpa/qplatforminputcontext.h",
82         "QPlatformInputContext" => "qpa/qplatforminputcontext.h",
83         "qplatforminputcontext_qpa_p.h" => "qpa/qplatforminputcontext_p.h",
84         "qplatformintegration_qpa.h" => "qpa/qplatformintegration.h",
85         "QPlatformIntegration" => "qpa/qplatformintegration.h",
86         "qplatformintegrationfactory_qpa_p.h" => "qpa/qplatformintegrationfactory_p.h",
87         "QPlatformIntegrationFactory" => "qpa/qplatformintegrationfactory_p.h",
88         "qplatformintegrationplugin_qpa.h" => "qpa/qplatformintegrationplugin.h",
89         "QPlatformIntegrationPlugin" => "qpa/qplatformintegrationplugin.h",
90         "qplatformnativeinterface_qpa.h" => "qpa/qplatformnativeinterface.h",
91         "QPlatformNativeInterface" => "qpa/qplatformnativeinterface.h",
92         "qplatformopenglcontext_qpa.h" => "qpa/qplatformopenglcontext.h",
93         "QPlatformOpenGLContext" => "qpa/qplatformopenglcontext.h",
94         "qplatformpixmap_qpa.h" => "qpa/qplatformpixmap.h",
95         "QPlatformPixmap" => "qpa/qplatformpixmap.h",
96         "qplatformscreen_qpa.h" => "qpa/qplatformscreen.h",
97         "QPlatformScreen" => "qpa/qplatformscreen.h",
98         "qplatformscreen_qpa_p.h" => "qpa/qplatformscreen_p.h",
99         "QPlatformScreenBuffer" => "qpa/qplatformscreenpageflipper.h",
100         "qplatformscreenpageflipper_qpa.h" => "qpa/qplatformscreenpageflipper.h",
101         "QPlatformScreenPageFlipper" => "qpa/qplatformscreenpageflipper.h",
102         "qplatformservices_qpa.h" => "qpa/qplatformservices.h",
103         "QPlatformServices" => "qpa/qplatformservices.h",
104         "qplatformsharedgraphicscache_qpa.h" => "qpa/qplatformsharedgraphicscache.h",
105         "QPlatformSharedGraphicsCache" => "qpa/qplatformsharedgraphicscache.h",
106         "qplatformsurface_qpa.h" => "qpa/qplatformsurface.h",
107         "QPlatformSurface" => "qpa/qplatformsurface.h",
108         "qplatformtheme_qpa.h" => "qpa/qplatformtheme.h",
109         "QPlatformTheme" => "qpa/qplatformtheme.h",
110         "qplatformthemefactory_qpa_p.h" => "qpa/qplatformthemefactory_p.h",
111         "qplatformthemeplugin_qpa.h" => "qpa/qplatformthemeplugin.h",
112         "QPlatformThemePlugin" => "qpa/qplatformthemeplugin.h",
113         "qplatformwindow_qpa.h" => "qpa/qplatformwindow.h",
114         "QPlatformWindow" => "qpa/qplatformwindow.h"
115     },
116     "QtWidgets" => {
117         "qplatformmenu_qpa.h" => "qpa/qplatformmenu.h",
118         "QPlatformMenu" => "qpa/qplatformmenu.h",
119         "QPlatformMenuAction" => "qpa/qplatformmenu.h",
120         "QPlatformMenuBar" => "qpa/qplatformmenu.h"
121     },
122     "QtPrintSupport" => {
123         "qplatformprintersupport_qpa.h" => "qpa/qplatformprintersupport.h",
124         "QPlatformPrinterSupport" => "qpa/qplatformprintersupport.h",
125         "QPlatformPrinterSupportPlugin" => "XXXXXXXXXXXXXXXXXXXX",
126         "qplatformprintplugin_qpa.h" => "qpa/qplatformprintplugin.h",
127         "QPlatformPrintPlugin" => "qpa/qplatformprintplugin.h"
128     },
129     "QtPlatformSupport" => {
130         "qplatforminputcontextfactory_qpa_p.h" => "qpa/qplatforminputcontextfactory_p.h",
131         "qplatforminputcontextplugin_qpa_p.h" => "qpa/qplatforminputcontextplugin_p.h",
132         "QPlatformInputContextPlugin" => "qpa/qplatforminputcontextplugin_p.h"
133     }
134 );
135 %explicitheaders = (
136     "QtCore" => {
137         "QVariantHash" => "qvariant.h",
138         "QVariantList" => "qvariant.h",
139         "QVariantMap" => "qvariant.h",
140     }
141 );
142
143 @ignore_for_master_contents = ( "qt.h", "qpaintdevicedefs.h" );
144 @ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h" );
145 @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" );
146 @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" );
147 @ignore_for_qt_module_check = ( "$modules{QtCore}/arch", "$modules{QtCore}/global", "$modules{QtTest}", "$modules{QtDBus}" );
148 %inject_headers = ( "$basedir/src/corelib/global" => [ "qconfig.h" ] );
149 # Module dependencies.
150 # Every module that is required to build this module should have one entry.
151 # Each of the module version specifiers can take one of the following values:
152 #   - A specific Git revision.
153 #   - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)
154 #
155 %dependencies = (
156 );