Skip to content
Permalink
Browse files
tie proxy factory support in SIP bindings to PyQt4 version instead of Qt
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13468 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 11, 2010
1 parent 7cd2c8b commit 72d2f43979fdcc87ab71652bd54e9bf0e39cc17d
Showing with 2 additions and 3 deletions.
  1. +2 −3 python/CMakeLists.txt
@@ -35,10 +35,9 @@ IF(MSVC)
ADD_DEFINITIONS(-DNOMINMAX)
ENDIF(MSVC)

MATH(EXPR QT_VERSION "${QT_VERSION_MAJOR}*10000 + ${QT_VERSION_MINOR}*100")
IF(QT_VERSION LESS 40500)
IF(${PYQT4_VERSION_STR} VERSION_LESS "4.6.0")
SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} PROXY_FACTORY)
ENDIF(QT_VERSION LESS 40500)
ENDIF(${PYQT4_VERSION_STR} VERSION_LESS "4.6.0")

# core module
FILE(GLOB sip_files_core core/*.sip)

0 comments on commit 72d2f43

Please sign in to comment.