4e5b013e32
these are not referenced anywhere, and neither should they, as they are not relevant to _using_ these modules in any way. notably, QT.*.bins remains exported - this is because dlls reside there, so it is necessary for setting up a launch environment. Change-Id: I7a33c72be6e4789ea29a2fbbcac9588213900b6e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
43 lines
1.6 KiB
Plaintext
43 lines
1.6 KiB
Plaintext
# This file is loaded as one of the last things by all qmakespecs.
|
|
|
|
QMAKE_QT_CONFIG = $$[QT_HOST_DATA/get]/mkspecs/qconfig.pri
|
|
!exists($$QMAKE_QT_CONFIG)|!include($$QMAKE_QT_CONFIG, "", true) {
|
|
debug(1, "Cannot load qconfig.pri!")
|
|
} else {
|
|
debug(1, "Loaded .qconfig.pri from ($$QMAKE_QT_CONFIG)")
|
|
dirs = $$(QMAKEMODULES)
|
|
QMAKE_MODULE_PATH = $$split(dirs, $$DIRLIST_SEPARATOR)
|
|
QMAKE_MODULE_PATH += $$QMAKEMODULES
|
|
dirs = $$[QMAKEMODULES]
|
|
QMAKE_MODULE_PATH += $$split(dirs, $$DIRLIST_SEPARATOR)
|
|
dirs = $$[QMAKE_MKSPECS]
|
|
dirs = $$split(dirs, $$DIRLIST_SEPARATOR)
|
|
QMAKE_MODULE_PATH += $$replace(dirs, \$, /modules)
|
|
unset(dirs)
|
|
QMAKE_MODULE_PATH = $$unique(QMAKE_MODULE_PATH)
|
|
QMAKE_MODULE_PATH = $$reverse(QMAKE_MODULE_PATH)
|
|
for(dir, QMAKE_MODULE_PATH) {
|
|
debug(1, "Loading modules from $${dir}")
|
|
mods = $$files($$dir/qt_*.pri)
|
|
for (mod, mods) {
|
|
# For installed Qt these paths will be common for all modules.
|
|
# For uninstalled prefix builds these will vary per module, via the
|
|
# forwarding module pri files. Keep qt_module_pris.prf in sync with this!
|
|
QT_MODULE_INCLUDE_BASE = $$[QT_INSTALL_HEADERS]
|
|
QT_MODULE_LIB_BASE = $$[QT_INSTALL_LIBS]
|
|
QT_MODULE_HOST_LIB_BASE = $$[QT_HOST_LIBS]
|
|
QT_MODULE_BIN_BASE = $$[QT_INSTALL_BINS]
|
|
include($$mod)
|
|
}
|
|
unset(mods)
|
|
}
|
|
QT_MODULES = $$unique(QT_MODULES) # In case modules appear in multiple places
|
|
unset(QT_MODULE_INCLUDE_BASE)
|
|
unset(QT_MODULE_LIB_BASE)
|
|
unset(QT_MODULE_HOST_LIB_BASE)
|
|
unset(QT_MODULE_BIN_BASE)
|
|
}
|
|
|
|
load(qt_functions)
|
|
|