[PyQt] Re: Importing Phonon module

Gustavo A. Díaz gustavo.diaz at gmail.com
Thu Jun 26 05:24:19 BST 2008


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?

Cheers.

--
GuS


2008/6/24 Gustavo A. Díaz <gustavo.diaz at gmail.com>:

> Hi...
>
> Maybe this is a very silly/newbie question... but how i do import Phonon
> module?
> I am using latest PyQt snapshot (and of course Qt4.4)
>
> Cheers.
>
> --
> Gustavo A. Díaz
> GDNet Projects
> www.gdnet.com.ar




-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080626/19b41241/attachment.html


More information about the PyQt mailing list