]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix bug PAL10043
authorvsr <vsr@opencascade.com>
Wed, 21 Sep 2005 15:57:20 +0000 (15:57 +0000)
committervsr <vsr@opencascade.com>
Wed, 21 Sep 2005 15:57:20 +0000 (15:57 +0000)
src/SALOME_PYQT/SALOME_PYQT_GUI.cxx
src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in [new file with mode: 0644]

index da744268e93d27ea459a214abbc4a88c66e64c39..555a68334fc6d14cc624d7d714f67f09b0621d4b 100644 (file)
@@ -16,8 +16,7 @@
 #include "SALOMEGUI_QtCatchCorbaException.hxx"
 #include "utilities.h"
 
-
-#if QT_VERSION > 0x030005
+#if defined(SIP_VERS_v4_old) || defined(SIP_VERS_v4_new)
 #include <sipAPISalomePyQt.h>
 #else
 #include <sipSalomePyQtDeclSalomePyQt.h>
diff --git a/src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in b/src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in
new file mode 100644 (file)
index 0000000..2a427ce
--- /dev/null
@@ -0,0 +1 @@
+#define SIP_VERS_@SIP_VERS@