The module specific pris define the modules
name
version
dependencies
include paths
lib paths
additional CONFIGs and DEFINES
They are located in the modules source directory, with fwd
includes created in QtBase/mkspecs/modules build directory.
The pris use
QT_MODULE_INCLUDE_BASE
QT_MODULE_LIB_BASE
to specify the locations for includes and libs. These paths
are normally based on
QT_INSTALL_HEADERS
QT_INSTALL_LIBS
for installed modules, but overridden to the module's build
directory by syncqt for the fwd included pris.
The path of the pris must be specified in the sync.profile
for syncqt to create the fwding pris in QtBase.
--- /dev/null
+QT_XMLPATTERNS_VERSION = $$QT_VERSION
+QT_XMLPATTERNS_MAJOR_VERSION = $$QT_MAJOR_VERSION
+QT_XMLPATTERNS_MINOR_VERSION = $$QT_MINOR_VERSION
+QT_XMLPATTERNS_PATCH_VERSION = $$QT_PATCH_VERSION
+
+QT.xmlpatterns.name = QtXmlPatterns
+QT.xmlpatterns.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/QtXmlPatterns
+QT.xmlpatterns.libs = $$QT_MODULE_LIB_BASE
+QT.xmlpatterns.depends = core network
+
+QT_CONFIG += xmlpatterns
"core" => "#include <QtCore/QtCore>\n",
"network" => "#include <QtNetwork/QtNetwork>\n",
);
+%modulepris = (
+ "QtXmlPatterns" => "$basedir/modules/qt_xmlpatterns.pri",
+);