eebc124f4c
This detects the target processor based on preprocessor #defines, setting Q_PROCESSOR_${FAMILY} accordingly. Optional Q_PROCESSOR_${FAMILY}_${REVISION/VARIANT} #defines are also provided, usually dependent on how the compiler is invoked. Currently detected families (and variants) include: ARM (v5, v6, and v7) X86 (i386 and x86_64, as X86_32 and X86_64 respectively) IA-64 MIPS (I, II, III, IV, 32, 64) Other families that currently are not detected, but Qt has (or had) support for include: Alpha AVR32 Blackfin PA-RISC PowerPC (optional 64-bit variant) S390 (and S390X 64-bit variant) SH (and SH-4A) SPARC (SPARC V9) Detection for these is currently commented out, and can be easily enabled later. Change-Id: I571f245c189b9d80c7c3a5369ac595a271f37c8b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
92 lines
4.0 KiB
Plaintext
92 lines
4.0 KiB
Plaintext
%modules = ( # path to module name map
|
|
"QtGui" => "$basedir/src/gui",
|
|
"QtWidgets" => "$basedir/src/widgets",
|
|
"QtPrintSupport" => "$basedir/src/printsupport",
|
|
"QtOpenGL" => "$basedir/src/opengl",
|
|
"QtCore" => "$basedir/src/corelib",
|
|
"QtXml" => "$basedir/src/xml",
|
|
"QtSql" => "$basedir/src/sql",
|
|
"QtNetwork" => "$basedir/src/network",
|
|
"QtTest" => "$basedir/src/testlib",
|
|
"QtDBus" => "$basedir/src/dbus",
|
|
"QtConcurrent" => "$basedir/src/concurrent",
|
|
"QtPlatformSupport" => "$basedir/src/platformsupport",
|
|
);
|
|
%moduleheaders = ( # restrict the module headers to those found in relative path
|
|
);
|
|
@allmoduleheadersprivate = (
|
|
);
|
|
%classnames = (
|
|
"qglobal.h" => "QtGlobal",
|
|
"qendian.h" => "QtEndian",
|
|
"qconfig.h" => "QtConfig",
|
|
"qplugin.h" => "QtPlugin",
|
|
"qalgorithms.h" => "QtAlgorithms",
|
|
"qcontainerfwd.h" => "QtContainerFwd",
|
|
"qdebug.h" => "QtDebug",
|
|
"qevent.h" => "QtEvents",
|
|
"qnamespace.h" => "Qt",
|
|
"qssl.h" => "QSsl",
|
|
"qtest.h" => "QTest",
|
|
"qtconcurrentmap.h" => "QtConcurrentMap",
|
|
"qtconcurrentfilter.h" => "QtConcurrentFilter",
|
|
"qtconcurrentrun.h" => "QtConcurrentRun",
|
|
"qtcoreversion.h" => "QtCoreVersion",
|
|
"qtdbusversion.h" => "QtDBusVersion",
|
|
"qtguiversion.h" => "QtGuiVersion",
|
|
"qtnetworkversion.h" => "QtNetworkVersion",
|
|
"qtopenglversion.h" => "QtOpenGLVersion",
|
|
"qtsqlversion.h" => "QtSqlVersion",
|
|
"qttestversion.h" => "QtTestVersion",
|
|
"qtxmlversion.h" => "QtXmlVersion",
|
|
"qtwidgetsversion.h" => "QtWidgetsVersion",
|
|
"qtprintsupportversion.h" => "QtPrintSupportVersion",
|
|
"qtconcurrentversion.h" => "QtConcurrentVersion",
|
|
"qtplatformsupportversion.h" => "QtPlatformSupportVersion",
|
|
);
|
|
%mastercontent = (
|
|
"core" => "#include <QtCore/QtCore>\n",
|
|
"gui" => "#include <QtGui/QtGui>\n",
|
|
"printsupport" => "#include <QtPrintSupport/QtPrintSupport>\n",
|
|
"widgets" => "#include <QtWidgets/QtWidgets>\n",
|
|
"network" => "#include <QtNetwork/QtNetwork>\n",
|
|
"opengl" => "#include <QtOpenGL/QtOpenGL>\n",
|
|
"xml" => "#include <QtXml/QtXml>\n",
|
|
"concurrent" => "#include <QtConcurrent/QtConcurrent>\n",
|
|
);
|
|
%modulepris = (
|
|
"QtCore" => "$basedir/src/modules/qt_core.pri",
|
|
"QtDBus" => "$basedir/src/modules/qt_dbus.pri",
|
|
"QtGui" => "$basedir/src/modules/qt_gui.pri",
|
|
"QtPrintSupport" => "$basedir/src/modules/qt_printsupport.pri",
|
|
"QtWidgets" => "$basedir/src/modules/qt_widgets.pri",
|
|
"QtNetwork" => "$basedir/src/modules/qt_network.pri",
|
|
"QtOpenGL" => "$basedir/src/modules/qt_opengl.pri",
|
|
"QtSql" => "$basedir/src/modules/qt_sql.pri",
|
|
"QtTest" => "$basedir/src/modules/qt_testlib.pri",
|
|
"QtXml" => "$basedir/src/modules/qt_xml.pri",
|
|
"QtConcurrent" => "$basedir/src/modules/qt_concurrent.pri",
|
|
"QtPlatformSupport" => "$basedir/src/modules/qt_platformsupport.pri",
|
|
);
|
|
%explicitheaders = (
|
|
"QtCore" => {
|
|
"QVariantHash" => "qvariant.h",
|
|
"QVariantList" => "qvariant.h",
|
|
"QVariantMap" => "qvariant.h",
|
|
}
|
|
);
|
|
|
|
@ignore_for_master_contents = ( "qt.h", "qpaintdevicedefs.h" );
|
|
@ignore_for_include_check = ( "qsystemdetection.h", "qcompilerdetection.h", "qprocessordetection.h" );
|
|
@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" );
|
|
@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" );
|
|
@ignore_for_qt_module_check = ( "$modules{QtCore}/arch", "$modules{QtCore}/global", "$modules{QtTest}", "$modules{QtDBus}" );
|
|
# Module dependencies.
|
|
# Every module that is required to build this module should have one entry.
|
|
# Each of the module version specifiers can take one of the following values:
|
|
# - A specific Git revision.
|
|
# - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)
|
|
#
|
|
%dependencies = (
|
|
);
|