From ce3433d3030ff1118b3d62cb38e0dffe978a0869 Mon Sep 17 00:00:00 2001 From: gdd Date: Thu, 5 Apr 2012 16:19:15 +0000 Subject: [PATCH] Change import pyqtconfig to from PyQt4 import pyqtconfig --- adm_local/unix/config_files/check_pyqt.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2