diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-04-11 15:34:23 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-14 15:25:46 +0000 |
commit | 5879e7f313aff6819313e68ac7ce1f03e70d9bf7 (patch) | |
tree | dc292c27af44fdf33d2858f983bfe81898218f1c | |
parent | 9ea295eec315b8845463f653a629e8408117b037 (diff) |
Build QtWebEngine with any Qt version >= 6.2
Pretend to be the same version to avoid having to hack qtbase
Change-Id: I537fcda3c6a6693892f0fef7d5f669b3670fa2d8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit e618a38fc3aefbeecdd04d2217bfd23a9e55346e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d38a51e2f..c04b9bf46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,14 +8,16 @@ include(ExternalProject) include(cmake/Functions.cmake) include(src/core/api/Qt6WebEngineCoreMacros.cmake) +project(QtWebEngineDummy) +find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core) + project(QtWebEngine - VERSION "${QT_REPO_MODULE_VERSION}" + VERSION ${Qt6Core_VERSION} DESCRIPTION "QtWebEngine and QtPdf modules" HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C ) -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) find_package(Qt6 ${PROJECT_VERSION} CONFIG QUIET OPTIONAL_COMPONENTS Gui Widgets Network OpenGL Quick Qml PrintSupport WebChannel Positioning QuickControls2 Test QuickWidgets QuickTest WebSockets Designer |