summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro25
1 files changed, 4 insertions, 21 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index f36b98904..793e46be2 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,25 +1,8 @@
-include($$QTWEBENGINE_OUT_ROOT/src/buildtools/qtbuildtools-config.pri)
-include($$QTWEBENGINE_OUT_ROOT/src/webenginequick/qtwebenginequick-config.pri)
-include($$QTWEBENGINE_OUT_ROOT/src/webenginewidgets/qtwebenginewidgets-config.pri)
-include($$QTWEBENGINE_OUT_ROOT/src/pdf/qtpdf-config.pri)
-include($$QTWEBENGINE_OUT_ROOT/src/pdfwidgets/qtpdfwidgets-config.pri)
-
-QT_FOR_CONFIG += \
- buildtools-private \
- webenginequick-private \
- webenginewidgets-private \
- pdf-private \
- pdfwidgets-private
-
TEMPLATE=subdirs
-qtConfig(build-qtwebengine-core):qtConfig(webengine-core-support) {
- qtConfig(webengine-quick): SUBDIRS += webengine
- qtConfig(webengine-widgets): SUBDIRS += webenginewidgets
-}
+qtHaveModule(webenginequick): SUBDIRS += webengine
+qtHaveModule(webenginewidgets): SUBDIRS += webenginewidgets
+qtHaveModule(pdf): SUBDIRS += pdf
+qtHaveModule(pdfwidgets): SUBDIRS += pdfwidgets
-qtConfig(build-qtpdf):qtConfig(webengine-qtpdf-support) {
- SUBDIRS += pdf
- qtConfig(pdf-widgets): SUBDIRS += pdfwidgets
-}