Can't add WebEngine to CMakeLists.txt on Qt 6.3.0
Unsolved
QtWebEngine
-
I am trying to add WebEngine to CMakeList.txt as per the modules introductions.
Getting this error:...CMakeLists.txt:16: error: Found package configuration file: F:/Qt/6.3.0/mingw_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "WebEngine". Expected Config file at "F:/Qt/6.3.0/mingw_64/lib/cmake/Qt6WebEngine/Qt6WebEngineConfig.cmake" does NOT exist
To be on the safe side I added all the additional libraries available for Qt 6.30 via the Qt Maintenance tool. I am using Qt 6.3.0 on Windows 10 x64, and this is a Qt Widget application.
-
Hi,
You are using MinGW which is currently not supported by Chromium which is the base of QtWebEngine.
You need to switch to visual studio in order to use that module.