From: gdd Date: Thu, 5 Apr 2012 16:19:15 +0000 (+0000) Subject: Change X-Git-Tag: V6_5_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce3433d3030ff1118b3d62cb38e0dffe978a0869;p=modules%2Fgui.git Change import pyqtconfig to from PyQt4 import pyqtconfig --- diff --git a/adm_local/unix/config_files/check_pyqt.m4 b/adm_local/unix/config_files/check_pyqt.m4 index 2be88b289..afd349e7f 100644 --- a/adm_local/unix/config_files/check_pyqt.m4 +++ b/adm_local/unix/config_files/check_pyqt.m4 @@ -236,7 +236,7 @@ if test "x$pyqt_ok" == "xyes" ; then # SUPPORTED=${QT_VERSION} #fi #SUPPORTED="Qt_`echo ${SUPPORTED} | sed -e 's/\./_/g'`" - PYQT_SIPFLAGS=`python -c "import pyqtconfig; print pyqtconfig.Configuration().pyqt_sip_flags"` + PYQT_SIPFLAGS=`python -c "from PyQt4 import pyqtconfig; print pyqtconfig.Configuration().pyqt_sip_flags"` PYQT_SIPFLAGS="${PYQT_SIPFLAGS} -s .cc -c . ${PYQT_INCLUDES}" break fi