i use
qt-all-commercial-src-4.5.2
qtjambi-src-lgpl-4.5.2_01
Apache Ant version 1.7.1 compiled on June 27 2008
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08


Everything builds and links fine.


Any one knows by any chance why i cannot run
java -jar qtjambi-generator-example-win32-msvc2008-4.5.2_01.jar


when my Qt is compiler WITH Qt 3 support?


Documentation says that it is not recommended,
"
Qt Jambi also has no need for the Qt 3 support library so it is recommended to compile with -no-qt3suppor



However, i need to use qt 3 support for my project.

Here the error:


$ java -jar qtjambi-generator-example-win32-msvc2008-4.5.2_01.jar
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60)
Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
Unpacking .jar file: 'qtjambi-generator-example-win32-msvc2008-4.5.2_01.jar'
Checking Archive 'qtjambi-generator-example-win32-msvc2008-4.5.2_01.jar'
 - cache key='genex-msvc2008-20100923-0916'
 - adding 'QtCore4.dll' to library map
 - library: name='bin/QtCore4.dll',
 - adding 'QtGui4.dll' to library map
 - library: name='bin/QtGui4.dll',
 - library: name='plugins/imageformats/qjpeg4.dll', never load
 - adding 'qtjambi.dll' to library map
 - library: name='bin/qtjambi.dll',
 - adding 'com_trolltech_qt_core.dll' to library map
 - library: name='bin/com_trolltech_qt_core.dll',
 - adding 'com_trolltech_qt_gui.dll' to library map
 - library: name='bin/com_trolltech_qt_gui.dll',
 - adding 'com_trolltech_examples_generator.dll' to library map
 - library: name='bin/com_trolltech_examples_generator.dll',
 - library: 
name='plugins/imageformats/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest', 
never load
 - library: name='plugins/imageformats/Microsoft.VC90.CRT/msvcm90.dll', never 
load
 - library: name='plugins/imageformats/Microsoft.VC90.CRT/msvcp90.dll', never 
load
 - library: name='plugins/imageformats/Microsoft.VC90.CRT/msvcr90.dll', never 
load
 - library: name='bin/Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest', never 
load
 - library: name='bin/Microsoft.VC90.CRT/msvcm90.dll', never load
 - library: name='bin/Microsoft.VC90.CRT/msvcp90.dll', never load
 - library: name='bin/Microsoft.VC90.CRT/msvcr90.dll', never load
 - plugin path='plugins'
 - using cache directory: 
'C:\DOCUME~1\kfk\LOCALS~1\Temp\QtJambi_kfk_x86_4.5.2_01_genex-msvc2008-20100923-0916\bin\QtCore4.dll:
 Can't find dependent libraries
 - cache directory exists
Loading library: 'QtCore4.dll'...
 - using deployment spec

        at 
com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:431)
        at 
com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:355)
        at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:140)
        at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:136)
        at 
com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:56)
        ... 1 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Documents and Settings\kfk\Local 
Settings\Temp\QtJambi_kfk_x86_4.5.2_01_genex-msvc2008-20100923-0916\
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.Runtime.load(Unknown Source)
        at 
com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:458)
        at 
com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:426)
        ... 5 more
Could not find the main class: com.trolltech.examples.GeneratorExample. Program 
will exit.



Konstantin

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

Reply via email to