From: rnv Date: Fri, 31 May 2019 09:07:50 +0000 (+0300) Subject: Remove QT4 compatibility. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c26ed0fec6360a661b713a69a7e302f43269bdf6;p=plugins%2Fhexablockplugin.git Remove QT4 compatibility. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index de6cbd1..262258a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,11 +101,7 @@ IF(SALOME_BUILD_GUI) FIND_PACKAGE(SalomeGUI) SALOME_GUI_WITH_CORBA() #check whether GUI builded with CORBA # Qt - IF(NOT SALOME_GUI_BUILD_WITH_QT5) - FIND_PACKAGE(SalomeQt4 REQUIRED COMPONENTS QtCore QtGui) - ELSE() - FIND_PACKAGE(SalomeQt5 REQUIRED) - ENDIF() + FIND_PACKAGE(SalomeQt5 REQUIRED) ELSE(EXISTS ${GUI_ROOT_DIR}) MESSAGE(FATAL_ERROR "We absolutely need a Salome GUI, please define GUI_ROOT_DIR") ENDIF(EXISTS ${GUI_ROOT_DIR})