Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tie proxy factory support in SIP bindings to PyQt4 version instead of Qt
git-svn-id: http://svn.osgeo.org/qgis/trunk@13468 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 11, 2010
1 parent 3e6fb20 commit c5d6626
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit c5d6626

Please sign in to comment.