From 3581474e81e3d3b9e7ca58f2f4b5401c6b7d0d49 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 18 Jan 2017 10:06:08 +0300 Subject: [PATCH] patch for problems on SALOME 8.2.0 --- src/HYDROData/HYDROData_Document.cxx | 4 ++-- src/HYDROPy/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.2