]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Change
authorgdd <gdd>
Thu, 5 Apr 2012 16:19:15 +0000 (16:19 +0000)
committergdd <gdd>
Thu, 5 Apr 2012 16:19:15 +0000 (16:19 +0000)
import pyqtconfig
to
from PyQt4 import pyqtconfig

adm_local/unix/config_files/check_pyqt.m4

index 2be88b289c879fa7e28ea93534c25e41dfec6321..afd349e7fe6329339b414517a38e4014788b47f2 100644 (file)
@@ -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