From fcd2f0470a2b6dbf34b79cfe835481ff5aece90d Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 2 Jul 2018 11:24:32 +0300 Subject: [PATCH] Minor modification for Qt 5 detection procedure: GUI module requires WebEngineWidgets tookit, not WebEngine itself --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aed227bc5..10cce22b6 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,11 +170,11 @@ ELSE() SET(QT_SALOME_VERSION 5) SET(SALOME_GUI_ENABLE_QTXWEBBROWSER TRUE) IF(NOT "${QT_VERSION}" VERSION_LESS "5.6.0") - # Check that WebEngine component was found - IF(NOT Qt5WebEngine_FOUND) + # Check that WebEngineWidgets component was found + IF(NOT Qt5WebEngineWidgets_FOUND) SET(SALOME_GUI_ENABLE_QTXWEBBROWSER FALSE) - ADD_DEFINITIONS("-DDISABLE_QTXWEBBROWSER") - MESSAGE("Qt5WebEngine is not found, SALOME internal help browser will be unavailable !") + ADD_DEFINITIONS("-DDISABLE_QTXWEBBROWSER") + MESSAGE("Qt5WebEngineWidgets is not found, SALOME internal help browser will be unavailable !") ENDIF() ENDIF() ENDIF() -- 2.39.2