Salome HOME
Copyright update 2021
[tools/yacsgen.git] / module_generator / mod_tmpl.py
index c33fa0681837b5b186c918363135735adda0c6c5..d7cd0869d194e104f7ef3c0668b1a6917fb8103d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2019  EDF R&D
+# Copyright (C) 2009-2021  EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -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}