[PyQt] PyQt4 fails to detect newer versions of Phonon
Dmitry Shachnev
mitya57 at ubuntu.com
Fri Nov 8 12:06:42 GMT 2013
Hi,
PyQt4 fails to detect Phonon ≥ 4.7:
g++ -DQT_NO_DEBUG -DQT_PHONON_LIB -I. -I/usr/mkspecs/linux-g++
-I/usr/include/qt4/phonon -I/usr/include/qt4 -pipe -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -w -D_REENTRANT
cfgtest_phonon.cpp -o cfgtest_phonon -L/usr/lib -Wl,-z,relro -Wl,-O1
-lphonon
In file included from cfgtest_phonon.cpp:1:0:
/usr/include/qt4/phonon/videowidget.h:28:19: fatal error: QWidget: No
such file or directory
#include <QWidget>
This is caused by upstream commit
http://quickgit.kde.org/?p=phonon.git&a=commitdiff&h=b51f5bf26da7 —
they changed <QtGui/QWidget> to just <QWidget>, so you now should make
configure.py add QtGui dir to include paths.
--
Dmitry Shachnev
More information about the PyQt
mailing list