From: asl Date: Wed, 18 Jan 2017 07:06:08 +0000 (+0300) Subject: patch for problems on SALOME 8.2.0 X-Git-Tag: Salome_8_3_Hydro_1_1rc1~58^2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3581474e81e3d3b9e7ca58f2f4b5401c6b7d0d49;p=modules%2Fhydro.git patch for problems on SALOME 8.2.0 --- diff --git a/src/HYDROData/HYDROData_Document.cxx b/src/HYDROData/HYDROData_Document.cxx index 6a8f7376..2fee31c3 100644 --- a/src/HYDROData/HYDROData_Document.cxx +++ b/src/HYDROData/HYDROData_Document.cxx @@ -313,8 +313,8 @@ QStringList HYDROData_Document::DumpToPython( const QString& thePyScriptPath, QStringList aResScript; aResScript << QString( "from HYDROPy import *" ); - aResScript << QString( "from PyQt4.QtCore import *" ); - aResScript << QString( "from PyQt4.QtGui import *" ); + aResScript << QString( "from PyQt5.QtCore import *" ); + aResScript << QString( "from PyQt5.QtGui import *" ); if ( theIsMultiFile ) { diff --git a/src/HYDROPy/CMakeLists.txt b/src/HYDROPy/CMakeLists.txt index f1a82ff9..9ed9e053 100644 --- a/src/HYDROPy/CMakeLists.txt +++ b/src/HYDROPy/CMakeLists.txt @@ -28,6 +28,7 @@ SET(_link_LIBRARIES SET(_add_SOURCES sipHYDROPycmodule.cc sipHYDROPyNCollection_Sequence0600opencascadehandle0100HYDROData_Entity.cc + sipHYDROPygp_XY.cc sipHYDROPygp_XYZ.cc sipHYDROPyHYDROData_AltitudeObject.cc sipHYDROPyHYDROData_Application.cc