From: adam Date: Mon, 4 Jan 2010 13:25:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: PARAVIS_29012010~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ed6a5d9e9e519f750e266c1ec680d2eee6c035e;p=modules%2Fgui.git *** empty log message *** --- 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})