2012-12-11 21:08:15 +00:00
|
|
|
#
|
|
|
|
# W A R N I N G
|
|
|
|
# -------------
|
|
|
|
#
|
|
|
|
# This file is not part of the Qt API. It exists purely as an
|
|
|
|
# implementation detail. It may change from version to version
|
|
|
|
# without notice, or even be removed.
|
|
|
|
#
|
|
|
|
# We mean it.
|
|
|
|
#
|
|
|
|
|
2012-06-04 15:10:11 +00:00
|
|
|
!contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) {
|
|
|
|
QMAKE_QT_MODULE = $$[QT_HOST_DATA/get]/mkspecs/qmodule.pri
|
|
|
|
!exists($$QMAKE_QT_MODULE)|!include($$QMAKE_QT_MODULE, "", true) {
|
|
|
|
error("Cannot load qmodule.pri!")
|
|
|
|
} else {
|
|
|
|
debug(1, "Loaded qmodule.pri from ($$QMAKE_QT_MODULE)")
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
debug(1, "Not loading qmodule.pri twice")
|
|
|
|
}
|
|
|
|
|
2013-01-28 19:25:33 +00:00
|
|
|
!exists($$[QT_HOST_DATA]/.qmake.cache): \
|
|
|
|
CONFIG += prefix_build
|
|
|
|
|
|
|
|
!build_pass:!isEmpty(_QMAKE_SUPER_CACHE_):prefix_build {
|
2012-09-18 16:26:09 +00:00
|
|
|
# When doing a -prefix build of top-level qt5/qt.pro, we need to announce
|
|
|
|
# this repo's module pris' location to the other repos.
|
|
|
|
isEmpty(MODULE_QMAKE_OUTDIR): MODULE_QMAKE_OUTDIR = $$shadowed($$dirname(_QMAKE_CONF_))
|
|
|
|
modpath = $$MODULE_QMAKE_OUTDIR/mkspecs/modules
|
|
|
|
!contains(QMAKEMODULES, $$modpath): \
|
|
|
|
cache(QMAKEMODULES, add super, modpath)
|
|
|
|
unset(modpath)
|
|
|
|
}
|
|
|
|
|
2012-06-04 15:10:11 +00:00
|
|
|
mac {
|
|
|
|
!isEmpty(QMAKE_RPATHDIR){
|
|
|
|
CONFIG += absolute_library_soname
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-27 16:01:09 +00:00
|
|
|
CONFIG += \
|
|
|
|
create_prl link_prl \
|
2012-11-28 13:51:40 +00:00
|
|
|
prepare_docs qt_docs_targets \
|
2012-11-27 16:01:09 +00:00
|
|
|
no_private_qt_headers_warning QTDIR_build \
|
|
|
|
# Qt modules get compiled without exceptions enabled by default.
|
|
|
|
# However, testcases should be still built with exceptions.
|
|
|
|
exceptions_off testcase_exceptions
|