I follow your command ,get this error:
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Could not find a configuration file for package “Qt5Quick” that is
compatible with requested version “5.15.9”.
The following configuration files were considered but not accepted:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Quick/Qt5QuickConfig.cmake, version: 5.15.3
Call Stack (most recent call first):
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake:105 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngine/Qt5WebEngineConfig.cmake:105 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Found package configuration file:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake
but it set Qt5WebEngineCore_FOUND to FALSE so package “Qt5WebEngineCore” is
considered to be NOT FOUND.
Call Stack (most recent call first):
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngine/Qt5WebEngineConfig.cmake:105 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Found package configuration file:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngine/Qt5WebEngineConfig.cmake
but it set Qt5WebEngine_FOUND to FALSE so package “Qt5WebEngine” is
considered to be NOT FOUND.
Call Stack (most recent call first):
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Could not find a configuration file for package “Qt5Quick” that is
compatible with requested version “5.15.9”.
The following configuration files were considered but not accepted:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5Quick/Qt5QuickConfig.cmake, version: 5.15.3
Call Stack (most recent call first):
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake:105 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake:105 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Found package configuration file:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake
but it set Qt5WebEngineCore_FOUND to FALSE so package “Qt5WebEngineCore” is
considered to be NOT FOUND.
Call Stack (most recent call first):
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake:105 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Found package configuration file:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake
but it set Qt5WebEngineWidgets_FOUND to FALSE so package
“Qt5WebEngineWidgets” is considered to be NOT FOUND.
Call Stack (most recent call first):
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package):
Found package configuration file:
D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5/Qt5Config.cmake
but it set Qt5_FOUND to FALSE so package “Qt5” is considered to be NOT
FOUND. Reason given by package:
Failed to find Qt5 component “WebEngine” config file at
“D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngine/Qt5WebEngineConfig.cmake”
Failed to find Qt5 component “WebEngineWidgets” config file at
“D:/OSGeo4W/apps/Qt5/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake”
Call Stack (most recent call first):
gui/qt5webdisplay/CMakeLists.txt:15 (find_package)
CMake Warning at gui/qt5webdisplay/CMakeLists.txt:21 (message):
Qt5 (WebEngine, WebEngineWidgets) not found, disabling option ‘qt5web’