Skip to content

Commit 72d2f43

Browse files
author
jef
committed
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
1 parent 7cd2c8b commit 72d2f43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ IF(MSVC)
3535
ADD_DEFINITIONS(-DNOMINMAX)
3636
ENDIF(MSVC)
3737

38-
MATH(EXPR QT_VERSION "${QT_VERSION_MAJOR}*10000 + ${QT_VERSION_MINOR}*100")
39-
IF(QT_VERSION LESS 40500)
38+
IF(${PYQT4_VERSION_STR} VERSION_LESS "4.6.0")
4039
SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} PROXY_FACTORY)
41-
ENDIF(QT_VERSION LESS 40500)
40+
ENDIF(${PYQT4_VERSION_STR} VERSION_LESS "4.6.0")
4241

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

0 commit comments

Comments
 (0)