From: crouzet Date: Mon, 12 Sep 2022 12:48:06 +0000 (+0200) Subject: sat #32160 : integration patch nabil PythonTemplate - mise à jour X-Git-Tag: V9_10_0~5^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0d137225e98691aec313e3f454b50160005452f2;p=tools%2Fsat.git sat #32160 : integration patch nabil PythonTemplate - mise à jour --- diff --git a/data/templates/PythonComponent/CMakeLists.txt b/data/templates/PythonComponent/CMakeLists.txt index 1911d00..8f592b9 100644 --- a/data/templates/PythonComponent/CMakeLists.txt +++ b/data/templates/PythonComponent/CMakeLists.txt @@ -99,11 +99,7 @@ ENDIF(EXISTS ${GUI_ROOT_DIR}) ## From GUI: ## # 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) # Detection summary: SALOME_PACKAGE_REPORT_AND_CHECK() diff --git a/data/templates/PythonComponent/resources/CMakeLists.txt b/data/templates/PythonComponent/resources/CMakeLists.txt index 6ae660c..85bd5ca 100644 --- a/data/templates/PythonComponent/resources/CMakeLists.txt +++ b/data/templates/PythonComponent/resources/CMakeLists.txt @@ -29,3 +29,4 @@ SET(Others_RESOURCES ) INSTALL(FILES ${Others_RESOURCES} DESTINATION ${SALOME_:sat:{PYCMP}_INSTALL_RES_DATA}) +INSTALL(FILES SalomeApp.xml RENAME SalomeAppSL.xml DESTINATION ${SALOME_:sat:{PYCMP}_INSTALL_RES_DATA})