]> SALOME platform Git repositories - tools/yacsgen.git/commitdiff
Salome HOME
Remove QT4 compatibility. rnv/remove_qt4compat
authorrnv <rnv@opencascade.com>
Fri, 31 May 2019 09:22:35 +0000 (12:22 +0300)
committerrnv <rnv@opencascade.com>
Fri, 31 May 2019 09:22:35 +0000 (12:22 +0300)
module_generator/mod_tmpl.py

index c33fa0681837b5b186c918363135735adda0c6c5..2387e5c49377da0a3bbbbba7069535758f3446f7 100644 (file)
@@ -145,12 +145,8 @@ IF(SALOME_GUI_MODULE)
   ## From GUI:
   ##
   FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
-  # Qt4/Qt5
-  IF(NOT SALOME_GUI_BUILD_WITH_QT5)
-    FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui)
-  ELSE()
-    FIND_PACKAGE(SalomeQt5 REQUIRED)
-  ENDIF()
+  # Qt5
+  FIND_PACKAGE(SalomeQt5 REQUIRED)
 ENDIF(SALOME_GUI_MODULE)
 
 ${add_modules}