diff options
Diffstat (limited to 'src/webengine/webengine.pro')
-rw-r--r-- | src/webengine/webengine.pro | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/webengine/webengine.pro b/src/webengine/webengine.pro index 5ac93c9a7..4b2170cbc 100644 --- a/src/webengine/webengine.pro +++ b/src/webengine/webengine.pro @@ -1,3 +1,6 @@ +include($$QTWEBENGINE_OUT_ROOT/qtwebengine-config.pri) +QT_FOR_CONFIG += webengine-private + TARGET = QtWebEngine # For our export macros @@ -55,18 +58,20 @@ HEADERS = \ render_widget_host_view_qt_delegate_quickwindow.h \ ui_delegates_manager.h -isQMLTestSupportApiEnabled() { +qtConfig(testsupport) { + QT += testlib + SOURCES += api/qquickwebenginetestsupport.cpp HEADERS += api/qquickwebenginetestsupport_p.h DEFINES += ENABLE_QML_TESTSUPPORT_API } -contains(WEBENGINE_CONFIG, use_spellchecker) { +qtConfig(spellchecker) { DEFINES += ENABLE_SPELLCHECK } -use?(pdf) { +qtConfig(printing-and-pdf) { DEFINES += ENABLE_PDF } @@ -77,7 +82,7 @@ use?(pdf) { $$python chromium/tools/licenses.py \ --file-template ../../tools/about_credits.tmpl \ --entry-template ../../tools/about_credits_entry.tmpl credits \ - > $$shell_quote($$shell_path($$OUT_PWD/chromium_attributions.qdoc)) + $$shell_quote($$shell_path($$OUT_PWD/chromium_attributions.qdoc)) chromium_attributions.CONFIG += phony QMAKE_EXTRA_TARGETS += chromium_attributions |