From: vsr Date: Wed, 21 Sep 2005 15:57:20 +0000 (+0000) Subject: Fix bug PAL10043 X-Git-Tag: V2_2_6~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b67d1c258053cf3d49f51c5f9538cc5d48f2feb7;p=modules%2Fkernel.git Fix bug PAL10043 --- 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@