[Qt-jambi-interest] Compiling under SUSE 11.2, phonon problems

Aekold Helbrass helbrass at gmail.com
Mon Dec 28 23:50:21 CET 2009


On Mon, Dec 28, 2009 at 10:31 PM, Francis Galiegue <fgaliegue at gmail.com> wrote:
> Compare the output of the second series of command with the first one.
>
> Basically, with your version, QTDIR is set to /usr, so qt-jambi tries
> to look for "/usr//plugins/<pluginnamehere>". And, of course, that
> never works.
>
> I'm surprised at all that a source RPM exists at all for SuSE, given
> that limitation. And this is what I'm working on: instead of relying
> on QTDIR alone, I rely on qmake. As you can see, qmake _can_ tell us
> where plugins are installed and can fetch them correctly in any
> situation.

Thanx for your mail, you guided me to some ideas. I didn't compiled Qt
myself, it was packed by SUSE guys, and looks like it was packed good
enough:
user at laptop:~> ls /usr/lib64/qt4
bin  include  lib  plugins

And I set QTDIR to /usr/lib64/qt4 before trying to compile Jambi.

Then, after taking a look at related Java code - it works fine, finds
correct libs in system. Then I tried to figure out how generator works
(I don't know C++ at all, so I could only guess) and it looks like
generator/qtjambi_masterinclude.h does not contains correct phonon
include, it contains like this:
#ifndef QT_NO_PHONON
#  include <phonon/phonon>
#endif

And in system:
user at laptop:~> ls /usr/lib64/qt4/include/phonon/
abstractaudiooutput.h  audiooutputinterface.h  effectparameter.h
mediaobject.h             path.h             seekslider.h
volumefadereffect.h
abstractmediastream.h  backendcapabilities.h   effectwidget.h
mediaobjectinterface.h    phonondefs.h       streaminterface.h
volumefaderinterface.h
abstractvideooutput.h  backendinterface.h      experimental
mediasource.h             phonon_export.h    videoplayer.h
volumeslider.h
addoninterface.h       effect.h                mediacontroller.h
objectdescription.h       phononnamespace.h  videowidget.h
audiooutput.h          effectinterface.h       medianode.h
objectdescriptionmodel.h  platformplugin.h   videowidgetinterface.h

contains nothing that looks like included file.
To check this blind guess I modified build.xml:
<generator dir="${outputDir}/generator" outputDirectory="${outputDir}"
typesystem="${sourceDir}/generator/build_phonon.txt"
header="/usr/lib64/qt4/include/phonon/phononnamespace.h"
options="${qtjambi.generator.jumptable}"/>

And generator at least created class com.trolltech.qt.phonon.Phonon
but failed because of some core features not included.

I tried to modify generator/qtjambi_masterinclude.h but got nothing.
Tell me please, can I be right about those includes?



More information about the Qt-jambi-interest mailing list