From b67d1c258053cf3d49f51c5f9538cc5d48f2feb7 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 21 Sep 2005 15:57:20 +0000 Subject: [PATCH] Fix bug PAL10043 --- src/SALOME_PYQT/SALOME_PYQT_GUI.cxx | 3 +-- src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in diff --git a/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx b/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx index da744268e..555a68334 100644 --- a/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx +++ b/src/SALOME_PYQT/SALOME_PYQT_GUI.cxx @@ -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 #else #include diff --git a/src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in b/src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in new file mode 100644 index 000000000..2a427ce4c --- /dev/null +++ b/src/SALOME_PYQT/SALOME_PYQT_SipDefs.h.in @@ -0,0 +1 @@ +#define SIP_VERS_@SIP_VERS@ -- 2.39.2