A quick

rgrep qtjambi.phonon_gstreamer *

in the sources reviles that

com/trolltech/tools/ant/InitializeTask.java

has some role to play here. I guess this is the function that fails:

   private String decidePhonon() {
        String result = String.valueOf(doesQtLibExist("phonon", 4));
        if (verbose) System.out.println(PHONON + ": " + result);
        return result;
    }

Did you sucessfully compile Qt with phonon? Please ensure this.

Helge

Aekold Helbrass wrote:
On Mon, Dec 28, 2009 at 1:17 AM, Helge Fredriksen <[email protected]> wrote:
  
Did you install the equivalent of the kde-devel apt package on Suse?
What about some phonon-devel stuff?
    

Yes, all devels are installed, including qt-devel, qtwebkit-devel and
phonon-devel. Without devels it's not detecting phonon at all. And by
the way, phonon-devel instaiils it's *.h files into
/usr/include/KDE/Phonon instead of somewhere under /usr/inclue/Qt*, is
it possible cause of problem?

  
Helge

Aekold Helbrass wrote:
    
Hi All!

I want to hack a bit into Jambi, and trying to compile it for my
system (OpenSUSE 11.2). Please suggest me how can I compile Jambi with
Phonon support for my system, because currently I have following
problems:

1. Build thinks that Phonon exists, and fails because he can't find
"<library name="phonon_gstreamer" type="plugin"
rootPath="${qtjambi.qtdir}" subdir="plugins/phonon_backend"
load="never" if="${qtjambi.phonon_gstreamer}" />". And there is no
library like this, looks like my phonon plugins are part of KDE:
u...@laptop:~> ls /usr/lib64/kde4/plugins/phonon_backend/
phonon_gstreamer.so  phonon_xine.so

2. Ok, I removed execution of qtjambi-platform-jar, but now
compilation fails, because generator is not generating anything for
Phonon. And there are some messages about phonon in output:
u...@laptop:~/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01> ant
-Dqtjambi.config=release generator.run
Buildfile: build.xml
...
init:
[qtjambi-initialize] qtjambi.osname: linux64
[qtjambi-initialize] qtjambi.libsubdir: lib
[qtjambi-initialize] qtjambi.qtdir: /usr/lib64/qt4
[qtjambi-initialize] qtjambi.compiler: gcc
[qtjambi-initialize] qtjambi.configuration: release
[qtjambi-initialize] qtjambi.phonon: true
[qtjambi-initialize] qtjambi.sqlite: true
[qtjambi-initialize] qtjambi.webkit: true
[qtjambi-initialize] qtjambi.xmlpatterns: true
[qtjambi-initialize] qtjambi.opengl: true
...
generator.run:
[generator]
[generator] Running :
(/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator)
/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator/generator
  --output-directory=/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01
/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator/qtjambi_masterinclude.h
/home/user/develop/rpms/jambi/qtjambi-src-lgpl-4.5.2_01/generator/build_all.txt
...
[generator] WARNING(MetaJavaBuilder) :: type
'Phonon::AudioChannelDescription' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.
[generator] WARNING(MetaJavaBuilder) :: type
'Phonon::AudioCaptureDevice' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.
[generator] WARNING(MetaJavaBuilder) :: type
'Phonon::SubtitleDescription' is specified in typesystem, but not
defined. This could potentially lead to compilation errors.
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

      
    



  

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to