mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
This should fix the build errors that "looked" like errors from Qt3D but were triggered through an incorrect QtWebKit module master header file, as well as the supposed linking errors related to WebKit2. Also disable the WebKit build if ICU is not available instead of breaking the build when reaching WebKit. Change-Id: I109b4152c081250c8950ef62dd7278129b716f76 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
197 lines
7.1 KiB
Prolog
197 lines
7.1 KiB
Prolog
# Create the super cache so modules will add themselves to it.
|
|
cache(, super)
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
module_qtbase.subdir = qtbase
|
|
module_qtbase.target = module-qtbase
|
|
|
|
module_qtsvg.subdir = qtsvg
|
|
module_qtsvg.target = module-qtsvg
|
|
module_qtsvg.depends = module_qtbase
|
|
|
|
module_qtxmlpatterns.subdir = qtxmlpatterns
|
|
module_qtxmlpatterns.target = module-qtxmlpatterns
|
|
module_qtxmlpatterns.depends = module_qtbase
|
|
|
|
module_qtscript.subdir = qtscript
|
|
module_qtscript.target = module-qtscript
|
|
module_qtscript.depends = module_qtbase
|
|
|
|
module_qtjsbackend.subdir = qtjsbackend
|
|
module_qtjsbackend.target = module-qtjsbackend
|
|
module_qtjsbackend.depends = module_qtbase
|
|
|
|
module_qtdeclarative.subdir = qtdeclarative
|
|
module_qtdeclarative.target = module-qtdeclarative
|
|
module_qtdeclarative.depends = module_qtbase module_qtjsbackend
|
|
|
|
module_qtwebkit.file = qtwebkit/WebKit.pro
|
|
module_qtwebkit.depends = module_qtbase module_qtdeclarative
|
|
module_qtwebkit.target = module-qtwebkit
|
|
|
|
module_qtwebkit_examples_and_demos.subdir = qtwebkit-examples-and-demos
|
|
module_qtwebkit_examples_and_demos.target = module-qtwebkit-examples-and-demos
|
|
module_qtwebkit_examples_and_demos.depends = module_qtwebkit module_qttools
|
|
|
|
module_qttools.subdir = qttools
|
|
module_qttools.target = module-qttools
|
|
module_qttools.depends = module_qtbase
|
|
|
|
module_qttranslations.subdir = qttranslations
|
|
module_qttranslations.target = module-qttranslations
|
|
module_qttranslations.depends = module_qttools
|
|
|
|
module_qtdoc.subdir = qtdoc
|
|
module_qtdoc.target = module-qtdoc
|
|
module_qtdoc.depends = module_qtbase module_qtdeclarative
|
|
|
|
module_qtactiveqt.subdir = qtactiveqt
|
|
module_qtactiveqt.target = module-qtactiveqt
|
|
module_qtactiveqt.depends = module_qtbase
|
|
|
|
module_qlalr.subdir = qlalr
|
|
module_qlalr.target = module-qlalr
|
|
module_qlalr.depends = module_qtbase
|
|
|
|
module_qtqa.subdir = qtqa
|
|
module_qtqa.target = module-qtqa
|
|
module_qtqa.depends = module_qtbase
|
|
|
|
module_qtlocation.subdir = qtlocation
|
|
module_qtlocation.target = module-qtlocation
|
|
module_qtlocation.depends = module_qtbase
|
|
|
|
module_qtsensors.subdir = qtsensors
|
|
module_qtsensors.target = module-qtsensors
|
|
module_qtsensors.depends = module_qtbase
|
|
|
|
module_qtsystems.subdir = qtsystems
|
|
module_qtsystems.target = module-qtsystems
|
|
module_qtsystems.depends = module_qtbase
|
|
|
|
module_qtmultimedia.subdir = qtmultimedia
|
|
module_qtmultimedia.target = module-qtmultimedia
|
|
module_qtmultimedia.depends = module_qtbase
|
|
|
|
module_qtfeedback.subdir = qtfeedback
|
|
module_qtfeedback.target = module-qtfeedback
|
|
module_qtfeedback.depends = module_qtbase module_qtdeclarative
|
|
|
|
module_qt3d.subdir = qt3d
|
|
module_qt3d.target = module-qt3d
|
|
module_qt3d.depends = module_qtbase module_qtdeclarative
|
|
|
|
module_qtpim.subdir = qtpim
|
|
module_qtpim.target = module-qtpim
|
|
module_qtpim.depends = module_qtdeclarative
|
|
|
|
module_qtconnectivity.subdir = qtconnectivity
|
|
module_qtconnectivity.target = module-qtconnectivity
|
|
module_qtconnectivity.depends = module_qtsystems
|
|
|
|
module_qtwayland.subdir = qtwayland
|
|
module_qtwayland.target = module-qtwayland
|
|
module_qtwayland.depends = module_qtbase
|
|
# not yet enabled by default
|
|
module_qtwayland.CONFIG = no_default_target no_default_install
|
|
|
|
module_qtimageformats.subdir = qtimageformats
|
|
module_qtimageformats.target = module-qtimageformats
|
|
module_qtimageformats.depends = module_qtbase
|
|
|
|
module_qtquick1.subdir = qtquick1
|
|
module_qtquick1.target = module-qtquick1
|
|
module_qtquick1.depends = module_qtbase module_qtscript
|
|
|
|
module_qtgraphicaleffects.subdir = qtgraphicaleffects
|
|
module_qtgraphicaleffects.target = module-qtgraphicaleffects
|
|
module_qtgraphicaleffects.depends = module_qtbase module_qtdeclarative
|
|
|
|
# only qtbase is required to exist. The others may not - but it is the
|
|
# users responsibility to ensure that all needed dependencies exist, or
|
|
# it may not build.
|
|
|
|
SUBDIRS = module_qtbase
|
|
|
|
exists(qtsvg/qtsvg.pro) {
|
|
SUBDIRS += module_qtsvg
|
|
# These modules do not require qtsvg, but can use it if it is available
|
|
module_qtdeclarative.depends += module_qtsvg
|
|
module_qtquick1.depends += module_qtsvg
|
|
}
|
|
exists(qtxmlpatterns/qtxmlpatterns.pro) {
|
|
SUBDIRS += module_qtxmlpatterns
|
|
# These modules do not require qtxmlpatterns, but can use it if it is available
|
|
module_qtdeclarative.depends += module_qtxmlpatterns
|
|
module_qtquick1.depends += module_qtxmlpatterns
|
|
}
|
|
|
|
exists(qtjsbackend/qtjsbackend.pro): SUBDIRS += module_qtjsbackend
|
|
exists(qtdeclarative/qtdeclarative.pro) {
|
|
SUBDIRS += module_qtdeclarative
|
|
# These modules do not require qtdeclarative, but can use it if it is available
|
|
module_qttools.depends += module_qtdeclarative
|
|
module_qtsensors.depends += module_qtdeclarative
|
|
module_qtsystems.depends += module_qtdeclarative
|
|
module_qtmultimedia.depends += module_qtdeclarative
|
|
module_qtwayland.depends += module_qtdeclarative
|
|
}
|
|
exists(qt3d/qt3d.pro) {
|
|
SUBDIRS += module_qt3d
|
|
# These modules do not require qt3d, but can use it if it is available
|
|
module_qtlocation.depends += module_qtdeclarative module_qt3d
|
|
}
|
|
exists(qtscript/qtscript.pro): SUBDIRS += module_qtscript
|
|
exists(qtlocation/qtlocation.pro) {
|
|
SUBDIRS += module_qtlocation
|
|
# These modules do not require qtlocation, but can use it if it is available
|
|
module_qtwebkit.depends += module_qtlocation
|
|
}
|
|
exists(qtsensors/qtsensors.pro) {
|
|
SUBDIRS += module_qtsensors
|
|
# These modules do not require qtsensors, but can use it if it is available
|
|
module_qtwebkit.depends += module_qtsensors
|
|
}
|
|
exists(qtsystems/qtsystems.pro) {
|
|
SUBDIRS += module_qtsystems
|
|
# These modules do not require qtsystems, but can use it if it is available
|
|
module_qtlocation.depends += module_qtsystems
|
|
}
|
|
exists(qtmultimedia/qtmultimedia.pro) {
|
|
SUBDIRS += module_qtmultimedia
|
|
# These modules do not require qtmultimedia, but can use it if it is available
|
|
module_qtfeedback.depends += module_qtmultimedia
|
|
module_qtlocation.depends += module_qtmultimedia
|
|
}
|
|
exists(qtfeedback/qtfeedback.pro): SUBDIRS += module_qtfeedback
|
|
exists(qtpim/qtpim.pro): SUBDIRS += module_qtpim
|
|
exists(qtconnectivity/qtconnectivity.pro): SUBDIRS += module_qtconnectivity
|
|
exists(qtactiveqt/qtactiveqt.pro) {
|
|
SUBDIRS += module_qtactiveqt
|
|
module_qttools.depends += module_qtactiveqt
|
|
}
|
|
exists(qtwebkit/WebKit.pro) {
|
|
mac|contains(QT_CONFIG, icu) {
|
|
SUBDIRS += module_qtwebkit
|
|
module_qttools.depends += module_qtwebkit
|
|
exists(qtwebkit-examples-and-demos/qtwebkit-examples-and-demos.pro) {
|
|
SUBDIRS += module_qtwebkit_examples_and_demos
|
|
}
|
|
} else {
|
|
message("WebKit: Qt was built without ICU support, WebKit disabled.")
|
|
}
|
|
}
|
|
exists(qttools/qttools.pro) {
|
|
SUBDIRS += module_qttools
|
|
module_qtquick1.depends += module_qttools
|
|
}
|
|
exists(qtquick1/qtquick1.pro): SUBDIRS += module_qtquick1
|
|
!win32:!mac:exists(qtwayland/qtwayland.pro): SUBDIRS += module_qtwayland
|
|
exists(qtimageformats/qtimageformats.pro): SUBDIRS += module_qtimageformats
|
|
exists(qtgraphicaleffects/qtgraphicaleffects.pro): SUBDIRS += module_qtgraphicaleffects
|
|
exists(qttranslations/qttranslations.pro): SUBDIRS += module_qttranslations
|
|
exists(qtdoc/qtdoc.pro): SUBDIRS += module_qtdoc
|
|
exists(qtqa/qtqa.pro): SUBDIRS += module_qtqa
|
|
exists(qlalr/qlalr.pro): SUBDIRS += module_qlalr
|