]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Minor modification for Qt 5 detection procedure: GUI module requires WebEngineWidgets...
authorvsr <vsr@opencascade.com>
Mon, 2 Jul 2018 08:24:32 +0000 (11:24 +0300)
committervsr <vsr@opencascade.com>
Mon, 2 Jul 2018 08:24:32 +0000 (11:24 +0300)
CMakeLists.txt

index aed227bc574aa322f3ea0ffa4768098c0708f5ec..10cce22b62f167d66953b431657f3df2baa42291 100755 (executable)
@@ -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()