Add the source path to the modules .pri file
This commit is contained in:
parent
8f9b949c64
commit
997f87bfcf
@ -1006,6 +1006,7 @@ foreach my $lib (@modules_to_sync) {
|
|||||||
my $modulepriname = basename($modulepri);
|
my $modulepriname = basename($modulepri);
|
||||||
my $moduleprifwd = "$qtbasedir/mkspecs/modules/$modulepriname";
|
my $moduleprifwd = "$qtbasedir/mkspecs/modules/$modulepriname";
|
||||||
open MODULE_PRI_FILE, ">$moduleprifwd";
|
open MODULE_PRI_FILE, ">$moduleprifwd";
|
||||||
|
print MODULE_PRI_FILE "QT_MODULE_BASE = $basedir\n";
|
||||||
print MODULE_PRI_FILE "QT_MODULE_INCLUDE_BASE = $out_basedir/include\n";
|
print MODULE_PRI_FILE "QT_MODULE_INCLUDE_BASE = $out_basedir/include\n";
|
||||||
print MODULE_PRI_FILE "QT_MODULE_LIB_BASE = $out_basedir/lib\n";
|
print MODULE_PRI_FILE "QT_MODULE_LIB_BASE = $out_basedir/lib\n";
|
||||||
print MODULE_PRI_FILE "include($modulepri)\n";
|
print MODULE_PRI_FILE "include($modulepri)\n";
|
||||||
|
@ -5,5 +5,6 @@ QT_CORE_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.core.name = QtCore
|
QT.core.name = QtCore
|
||||||
QT.core.includes = $$QT_MODULE_INCLUDE_BASE/QtCore
|
QT.core.includes = $$QT_MODULE_INCLUDE_BASE/QtCore
|
||||||
|
QT.core.sources = $$QT_MODULE_BASE/src/corelib
|
||||||
QT.core.libs = $$QT_MODULE_LIB_BASE
|
QT.core.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.core.depends =
|
QT.core.depends =
|
||||||
|
@ -5,6 +5,7 @@ QT_DBUS_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.dbus.name = QtDBus
|
QT.dbus.name = QtDBus
|
||||||
QT.dbus.includes = $$QT_MODULE_INCLUDE_BASE/QtDBus
|
QT.dbus.includes = $$QT_MODULE_INCLUDE_BASE/QtDBus
|
||||||
|
QT.dbus.sources = $$QT_MODULE_BASE/src/dbus
|
||||||
QT.dbus.libs = $$QT_MODULE_LIB_BASE
|
QT.dbus.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.dbus.depends = core xml
|
QT.dbus.depends = core xml
|
||||||
QT.dbus.CONFIG = dbusadaptors dbusinterfaces
|
QT.dbus.CONFIG = dbusadaptors dbusinterfaces
|
||||||
|
@ -5,5 +5,6 @@ QT_GUI_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.gui.name = QtGui
|
QT.gui.name = QtGui
|
||||||
QT.gui.includes = $$QT_MODULE_INCLUDE_BASE/QtGui
|
QT.gui.includes = $$QT_MODULE_INCLUDE_BASE/QtGui
|
||||||
|
QT.gui.sources = $$QT_MODULE_BASE/src/gui
|
||||||
QT.gui.libs = $$QT_MODULE_LIB_BASE
|
QT.gui.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.gui.depends = core network
|
QT.gui.depends = core network
|
||||||
|
@ -5,5 +5,6 @@ QT_NETWORK_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.network.name = QtNetwork
|
QT.network.name = QtNetwork
|
||||||
QT.network.includes = $$QT_MODULE_INCLUDE_BASE/QtNetwork
|
QT.network.includes = $$QT_MODULE_INCLUDE_BASE/QtNetwork
|
||||||
|
QT.network.sources = $$QT_MODULE_BASE/src/network
|
||||||
QT.network.libs = $$QT_MODULE_LIB_BASE
|
QT.network.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.network.depends = core
|
QT.network.depends = core
|
||||||
|
@ -5,6 +5,7 @@ QT_OPENGL_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.opengl.name = QtOpenGL
|
QT.opengl.name = QtOpenGL
|
||||||
QT.opengl.includes = $$QT_MODULE_INCLUDE_BASE/QtOpenGL
|
QT.opengl.includes = $$QT_MODULE_INCLUDE_BASE/QtOpenGL
|
||||||
|
QT.opengl.sources = $$QT_MODULE_BASE/src/opengl
|
||||||
QT.opengl.libs = $$QT_MODULE_LIB_BASE
|
QT.opengl.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.opengl.depends = core gui
|
QT.opengl.depends = core gui
|
||||||
QT.opengl.CONFIG = opengl
|
QT.opengl.CONFIG = opengl
|
||||||
|
@ -5,6 +5,7 @@ QT_OPENVG_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.openvg.name = QtOpenVG
|
QT.openvg.name = QtOpenVG
|
||||||
QT.openvg.includes = $$QT_MODULE_INCLUDE_BASE/QtOpenVG
|
QT.openvg.includes = $$QT_MODULE_INCLUDE_BASE/QtOpenVG
|
||||||
|
QT.openvg.sources = $$QT_MODULE_BASE/src/openvg
|
||||||
QT.openvg.libs = $$QT_MODULE_LIB_BASE
|
QT.openvg.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.openvg.depends = core gui
|
QT.openvg.depends = core gui
|
||||||
QT.openvg.CONFIG = openvg
|
QT.openvg.CONFIG = openvg
|
||||||
|
@ -5,5 +5,6 @@ QT_SQL_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.sql.name = QtSql
|
QT.sql.name = QtSql
|
||||||
QT.sql.includes = $$QT_MODULE_INCLUDE_BASE/QtSql
|
QT.sql.includes = $$QT_MODULE_INCLUDE_BASE/QtSql
|
||||||
|
QT.sql.sources = $$QT_MODULE_BASE/src/sql
|
||||||
QT.sql.libs = $$QT_MODULE_LIB_BASE
|
QT.sql.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.sql.depends = core
|
QT.sql.depends = core
|
||||||
|
@ -5,5 +5,6 @@ QT_SVG_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.svg.name = QtSvg
|
QT.svg.name = QtSvg
|
||||||
QT.svg.includes = $$QT_MODULE_INCLUDE_BASE/QtSvg
|
QT.svg.includes = $$QT_MODULE_INCLUDE_BASE/QtSvg
|
||||||
|
QT.svg.sources = $$QT_MODULE_BASE/src/svg
|
||||||
QT.svg.libs = $$QT_MODULE_LIB_BASE
|
QT.svg.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.svg.depends = core gui
|
QT.svg.depends = core gui
|
||||||
|
@ -5,6 +5,7 @@ QT_TEST_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.testlib.name = QtTest
|
QT.testlib.name = QtTest
|
||||||
QT.testlib.includes = $$QT_MODULE_INCLUDE_BASE/QtTest
|
QT.testlib.includes = $$QT_MODULE_INCLUDE_BASE/QtTest
|
||||||
|
QT.testlib.sources = $$QT_MODULE_BASE/src/testlib
|
||||||
QT.testlib.libs = $$QT_MODULE_LIB_BASE
|
QT.testlib.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.testlib.depends = core
|
QT.testlib.depends = core
|
||||||
QT.testlib.CONFIG = console
|
QT.testlib.CONFIG = console
|
||||||
|
@ -5,5 +5,6 @@ QT_XML_PATCH_VERSION = $$QT_PATCH_VERSION
|
|||||||
|
|
||||||
QT.xml.name = QtXml
|
QT.xml.name = QtXml
|
||||||
QT.xml.includes = $$QT_MODULE_INCLUDE_BASE/QtXml
|
QT.xml.includes = $$QT_MODULE_INCLUDE_BASE/QtXml
|
||||||
|
QT.xml.sources = $$QT_MODULE_BASE/src/xml
|
||||||
QT.xml.libs = $$QT_MODULE_LIB_BASE
|
QT.xml.libs = $$QT_MODULE_LIB_BASE
|
||||||
QT.xml.depends = core
|
QT.xml.depends = core
|
||||||
|
Loading…
Reference in New Issue
Block a user