build(app): add missing Qt components to find_package (#1644)

Necessary since Qt 6.7.2.

Fixes #1643.
This commit is contained in:
Atri Bhattacharya 2024-07-28 09:35:51 +05:30 committed by GitHub
parent b9a25f2cbe
commit c432a0ac22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Concurrent WebEngineWidgets Widgets REQUIRED)
if (Qt${QT_VERSION_MAJOR}Widgets_VERSION VERSION_LESS QT_MINIMUM_VERSION)
message(FATAL_ERROR "Qt version >= ${QT_MINIMUM_VERSION} is required.")
endif()