export DYLD_LIBRARY_PATH=`pwd`
mono QtHelloWorld.exe
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
com.trolltech.qt.core.QCoreApplication --->
System.TypeInitializationException: An exception was thrown by the
type initializer for com.trolltech.qt.core.QObject --->
System.TypeInitializationException: An exception was thrown by the
type initializer for com.trolltech.qt.QtJambiObject --->
System.TypeInitializationException: An exception was thrown by the
type initializer for com.trolltech.qt.QtJambi_LibraryInitializer --->
java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via
'java.library.path'
Loading library: 'libQtCore.4.dylib'...
- using 'java.library.path'
--- End of inner exception stack trace ---
at com.trolltech.qt.QtJambiObject..cctor () [0x00000]
--- End of inner exception stack trace ---
at com.trolltech.qt.core.QObject..cctor () [0x00000]
--- End of inner exception stack trace ---
at com.trolltech.qt.core.QCoreApplication..cctor () [0x00000]
--- End of inner exception stack trace ---
at QtHellWorld.main () [0x00000]
at <StartupCode$QtHelloWorld>.$QtHellWorld$Main.main@ () [0x00000]
Any ideas?
cheers,
Cameron
- including ikvm native (which you might want to copy from the mono framework)
- including other depend files of the qt framework ...
try otool -L <library> to see a breakdown of where things are supposed to be
best
Frank
> --
>
> You received this message because you are subscribed to the Google Groups "qt4dotnet" group.
> To post to this group, send email to qt4d...@googlegroups.com.
> To unsubscribe from this group, send email to qt4dotnet+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/qt4dotnet?hl=en.
>
>
thanks!
Cameron