Qt5 WebEngineWidgets missing
-
I have a project that depends on Qt5WebEngineWidgets:
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets WebEngineWidgets Network LinguistTools)In my system I have Qt 5.15.2. I tried to install that component using the Qt MaintenanceTool but it seems that I have not that option fot Qt5. How can I install it?
I run cmake in this way:
cmake -DCMAKE_PREFIX_PATH="C:/Qt/5.15.5/msvc2019_64" -DCMAKE_INSTALL_PREFIX="C:/Workspace/Libs/aws-cpp-sdk-all" -DCMAKE_TOOLCHAIN_FILE="E:/vcpkg/scripts/buildsystems/vcpkg.cmake" ..And this is the error:
Could not find a package configuration file provided by "Qt5WebEngineWidgets" with any of the following names: Qt5WebEngineWidgetsConfig.cmake qt5webenginewidgets-config.cmake Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above files. If "Qt5WebEngineWidgets" provides a separate development package or SDK, be sure it has been installed.My compiler is Visual Studio 2019
-
I have a project that depends on Qt5WebEngineWidgets:
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets WebEngineWidgets Network LinguistTools)In my system I have Qt 5.15.2. I tried to install that component using the Qt MaintenanceTool but it seems that I have not that option fot Qt5. How can I install it?
I run cmake in this way:
cmake -DCMAKE_PREFIX_PATH="C:/Qt/5.15.5/msvc2019_64" -DCMAKE_INSTALL_PREFIX="C:/Workspace/Libs/aws-cpp-sdk-all" -DCMAKE_TOOLCHAIN_FILE="E:/vcpkg/scripts/buildsystems/vcpkg.cmake" ..And this is the error:
Could not find a package configuration file provided by "Qt5WebEngineWidgets" with any of the following names: Qt5WebEngineWidgetsConfig.cmake qt5webenginewidgets-config.cmake Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above files. If "Qt5WebEngineWidgets" provides a separate development package or SDK, be sure it has been installed.My compiler is Visual Studio 2019
@franco-amato Is Qt WebEngine module installed?
-
@jsulm The Qt WebEngineit is not appearing in the list of additional modules for Qt5, only for Qt 6x
-
Hi,
You mention 5.15.2 but the path you show is 5.15.5. Where is the typo ?
-
Sorry for the mistake, my Qt version is 5.15.2