From: vsr Date: Mon, 2 Jul 2018 08:24:32 +0000 (+0300) Subject: Minor modification for Qt 5 detection procedure: GUI module requires WebEngineWidgets... X-Git-Tag: SHAPER_V9_1_0RC1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fcd2f0470a2b6dbf34b79cfe835481ff5aece90d;p=modules%2Fgui.git Minor modification for Qt 5 detection procedure: GUI module requires WebEngineWidgets tookit, not WebEngine itself --- 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()