mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +01:00
Nicer platform specific sip flags.
This commit is contained in:
parent
508aaed088
commit
16b5466922
@ -10,25 +10,19 @@ macro(add_sip_binding outputvar source)
|
||||
# Work out what the SIP flags should be for PyQt4. These would normally be
|
||||
# obtained from PyQt4.pyqtconfig.Configuration().pyqt_sip_flags, but we can't
|
||||
# call that when cross-compiling.
|
||||
if (APPLE)
|
||||
set(PYQT_SIP_FLAGS
|
||||
"-x" "VendorID"
|
||||
"-x" "PyQt_NoPrintRangeBug"
|
||||
"-t" "Qt_4_7_1"
|
||||
)
|
||||
else (APPLE)
|
||||
set(PYQT_SIP_FLAGS
|
||||
"-x" "VendorID"
|
||||
"-x" "PyQt_NoPrintRangeBug"
|
||||
"-t" "Qt_4_6_2"
|
||||
)
|
||||
endif (APPLE)
|
||||
set(PYQT_SIP_FLAGS
|
||||
"-x" "VendorID"
|
||||
"-x" "PyQt_NoPrintRangeBug"
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND PYQT_SIP_FLAGS "-t" "Qt_4_6_2")
|
||||
list(APPEND PYQT_SIP_FLAGS "-t" "WS_WIN")
|
||||
elseif(APPLE)
|
||||
list(APPEND PYQT_SIP_FLAGS "-t" "Qt_4_7_1")
|
||||
list(APPEND PYQT_SIP_FLAGS "-t" "WS_MACX")
|
||||
else(WIN32)
|
||||
list(APPEND PYQT_SIP_FLAGS "-t" "Qt_4_6_2")
|
||||
list(APPEND PYQT_SIP_FLAGS "-t" "WS_X11")
|
||||
endif(WIN32)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user