]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
patch for problems on SALOME 8.2.0
authorasl <asl@opencascade.com>
Wed, 18 Jan 2017 07:06:08 +0000 (10:06 +0300)
committerasl <asl@opencascade.com>
Wed, 18 Jan 2017 07:06:08 +0000 (10:06 +0300)
src/HYDROData/HYDROData_Document.cxx
src/HYDROPy/CMakeLists.txt

index 6a8f7376402874535a0698799b981a0a1c76ccc6..2fee31c361d416f89f499c056b6fbf66805f815f 100644 (file)
@@ -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 )
   {
index f1a82ff9ba49a406532e4a710403d518e461ed72..9ed9e053a0a4ca8f1655963fb742da3fb4aeb5f7 100644 (file)
@@ -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