From 3ed6a5d9e9e519f750e266c1ec680d2eee6c035e Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 4 Jan 2010 13:25:26 +0000 Subject: [PATCH] *** empty log message *** --- adm_local/cmake_files/FindSIPPYQT.cmake | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/adm_local/cmake_files/FindSIPPYQT.cmake b/adm_local/cmake_files/FindSIPPYQT.cmake index 761fbb15d..f1526b175 100644 --- a/adm_local/cmake_files/FindSIPPYQT.cmake +++ b/adm_local/cmake_files/FindSIPPYQT.cmake @@ -63,5 +63,14 @@ SET(PYQT_INCLUDES ${PYQT_INCLUDES} -I${PYQT_SIPS}/QtAssistant -I${PYQT_SIPS}/QtD SET(PYQT_INCLUDES ${PYQT_INCLUDES} -I${PYQT_SIPS}/QtNetwork -I${PYQT_SIPS}/QtSql) SET(PYQT_INCLUDES ${PYQT_INCLUDES} -I${PYQT_SIPS}/QtSvg -I${PYQT_SIPS}/QtTest) -SET(PYQT_SIPFLAGS -x VendorID -x PyQt_NoPrintRangeBug -t WS_X11 -t Qt_4_4_1 -g -s .cc -c .) +SET(qt_flag ${QTVERSION}) +STRING(REPLACE "." "_" qt_flag ${qt_flag}) + +IF(WINDOWS) + SET(ws_flag WS_WIN) +ELSE(WINDOWS) + SET(ws_flag WS_X11) +ENDIF(WINDOWS) + +SET(PYQT_SIPFLAGS -x VendorID -x PyQt_NoPrintRangeBug -t ${ws_flag} -t Qt_${qt_flag} -g -s .cc -c .) SET(PYQT_SIPFLAGS ${PYQT_SIPFLAGS} ${PYQT_INCLUDES}) -- 2.39.2