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

Aekold Helbrass helbrass at gmail.com
Tue Dec 29 07:52:22 CET 2009


On Tue, Dec 29, 2009 at 1:51 AM, Francis Galiegue <fgaliegue at gmail.com> wrote:
> On Mon, Dec 28, 2009 at 11:50 PM, Aekold Helbrass <helbrass at gmail.com> wrote:
>> 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?
>
> I still need to gather the information you gave me, but can you give
> me the output of:
>
> qmake -query
>
> on your system?

user at laptop:~> qmake -query
QT_INSTALL_PREFIX:/usr
QT_INSTALL_DATA:/usr/share/qt4/
QT_INSTALL_DOCS:/usr/share/doc/packages/libqt4
QT_INSTALL_HEADERS:/usr/include
QT_INSTALL_LIBS:/usr/lib64
QT_INSTALL_BINS:/usr/bin
QT_INSTALL_PLUGINS:/usr/lib64/qt4/plugins
QT_INSTALL_TRANSLATIONS:/usr/share/qt4/translations
QT_INSTALL_CONFIGURATION:/etc/settings
QT_INSTALL_EXAMPLES:/usr/lib64/qt4/examples
QT_INSTALL_DEMOS:/usr/lib64/qt4/demos
QMAKE_MKSPECS:/usr/share/qt4//mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.5.3




More information about the Qt-jambi-interest mailing list