[PyQt] Re: Importing Phonon module
Phil Thompson
phil at riverbankcomputing.com
Thu Jun 26 10:50:27 BST 2008
On Thu, 26 Jun 2008 01:24:19 -0300, "Gustavo A. Díaz"
<gustavo.diaz at gmail.com> wrote:
> By the way... difficult to import phono if was not compiled with PyQt :S
> sorry...
> But, even when i install phonon lib of Qt4, i have this verbose on PyQt
> compilation:
>
>
> Checking to see if the phonon module should be
> built...
>
> g++ -DQT_NO_DEBUG -DQT_PHONON_LIB -I. -I/usr/mkspecs/linux-g++
> -I/usr/include/qt4/phonon -I/usr/include/qt4 -I/usr/X11R6/include -pipe
> -O2
> -w -D_REENTRANT cfgtest_phonon.cpp -o cfgtest_phonon -L/usr/lib
> -L/usr/X11R6/lib -Wl,--no-undefined -Wl,-rpath,/usr/lib -lphonon -lXext
> -lX11 -lm
> -lpthread
>
> cfgtest_phonon.cpp:1:18: error: phonon: No such file or
> directory
>
> cfgtest_phonon.cpp: In function 'int main(int,
> char**)':
>
> cfgtest_phonon.cpp:5: error: expected type-specifier before
> 'Phonon'
>
> cfgtest_phonon.cpp:5: error: expected `;' before 'Phonon'
>
> Latest PyQt 4.4.3 snapshots, latest SIP 4.7.7 snapshots and Kubuntu Hardy
> OS.
> By the way, i've installed libphonon4-dev. Do i need anything else?
>
> Any tip?
Is that the Qt4 phonon or the KDE4 phonon? PyQt only supports the Qt4
phonon.
Phil
More information about the PyQt
mailing list