We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6fb20 commit c5d6626Copy full SHA for c5d6626
python/CMakeLists.txt
@@ -35,10 +35,9 @@ IF(MSVC)
35
ADD_DEFINITIONS(-DNOMINMAX)
36
ENDIF(MSVC)
37
38
-MATH(EXPR QT_VERSION "${QT_VERSION_MAJOR}*10000 + ${QT_VERSION_MINOR}*100")
39
-IF(QT_VERSION LESS 40500)
+IF(${PYQT4_VERSION_STR} VERSION_LESS "4.6.0")
40
SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} PROXY_FACTORY)
41
-ENDIF(QT_VERSION LESS 40500)
+ENDIF(${PYQT4_VERSION_STR} VERSION_LESS "4.6.0")
42
43
# core module
44
FILE(GLOB sip_files_core core/*.sip)
0 commit comments