Mac安装上的QT Jambi失败

时间:2013-09-16 15:36:38

标签: java qt qt-jambi

我尝试在Mac上安装QT Jambi 4.7.0,但是我收到了这个错误:

  

线程中的异常" main" java.lang.ExceptionInInitializerError at   com.trolltech.qt.QtJambiObject。(QtJambiObject.java:60)引起   by:java.lang.RuntimeException:加载库失败,进展如此   far:解包.jar文件:' qtjambi-macosx-gcc-4.7.0.jar'检查   档案' qtjambi-macosx-gcc-4.7.0.jar'     - 缓存密钥=' gcc-20101012-2105'     - 添加' libQtCore.4.dylib'到图书馆地图     - library:name =' lib / libQtCore.4.dylib',     - 添加' libQtGui.4.dylib'到图书馆地图     - library:name =' lib / libQtGui.4.dylib',     - 添加' libQtXml.4.dylib'到图书馆地图     - library:name =' lib / libQtXml.4.dylib',     - 添加' libQtSql.4.dylib'到图书馆地图     - library:name =' lib / libQtSql.4.dylib',     - 添加' libQtSvg.4.dylib'到图书馆地图     - library:name =' lib / libQtSvg.4.dylib',     - 添加' libQtNetwork.4.dylib'到图书馆地图     - library:name =' lib / libQtNetwork.4.dylib',     - 添加' libQtHelp.4.dylib'到图书馆地图     - library:name =' lib / libQtHelp.4.dylib',     - 添加' libQtScript.4.dylib'到图书馆地图     - library:name =' lib / libQtScript.4.dylib',     - 添加' libQtScriptTools.4.dylib'到图书馆地图     - library:name =' lib / libQtScriptTools.4.dylib',     - 添加' libQtMultimedia.4.dylib'到图书馆地图     - library:name =' lib / libQtMultimedia.4.dylib',     - 添加' libQtOpenGL.4.dylib'到图书馆地图     - library:name =' lib / libQtOpenGL.4.dylib',     - 添加' libQtWebKit.4.dylib'到图书馆地图     - library:name =' lib / libQtWebKit.4.dylib',     - 添加' libQtXmlPatterns.4.dylib'到图书馆地图     - library:name =' lib / libQtXmlPatterns.4.dylib',     - 添加' libphonon.4.dylib'到图书馆地图     - library:name =' lib / libphonon.4.dylib',     - library:name =' plugins / phonon_backend / libphonon_qt7.dylib',永不加载     - library:name =' plugins / imageformats / libqjpeg.dylib',永不加载     - library:name =' plugins / imageformats / libqgif.dylib',永不加载     - library:name =' plugins / imageformats / libqmng.dylib',永不加载     - library:name =' plugins / imageformats / libqtiff.dylib',永不加载     - library:name =' plugins / imageformats / libqsvg.dylib',永不加载     - library:name =' plugins / iconengines / libqsvgicon.dylib',永不加载     - library:name =' plugins / codecs / libqcncodecs.dylib',永不加载     - library:name =' plugins / codecs / libqjpcodecs.dylib',永不加载     - library:name =' plugins / codecs / libqkrcodecs.dylib',永不加载     - library:name =' plugins / codecs / libqtwcodecs.dylib',永不加载     - library:name =' plugins / accessible / libqtaccessiblewidgets.dylib',永不加载     - 添加' libqtjambi.jnilib'到图书馆地图     - library:name =' lib / libqtjambi.jnilib',     - 添加' libcom_trolltech_qt_core.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_core.jnilib',     - 添加' libcom_trolltech_qt_gui.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_gui.jnilib',     - 添加' libcom_trolltech_qt_xml.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_xml.jnilib',     - 添加' libcom_trolltech_qt_sql.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_sql.jnilib',     - 添加' libcom_trolltech_qt_help.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_help.jnilib',     - 添加' libcom_trolltech_qt_script.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_script.jnilib',     - 添加' libcom_trolltech_qt_scripttools.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_scripttools.jnilib',     - 添加' libcom_trolltech_qt_multimedia.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_multimedia.jnilib',     - 添加' libcom_trolltech_qt_svg.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_svg.jnilib',     - 添加' libcom_trolltech_qt_opengl.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_opengl.jnilib',     - 添加' libcom_trolltech_qt_network.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_network.jnilib',     - 添加' libcom_trolltech_qt_phonon.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_phonon.jnilib',     - 添加' libcom_trolltech_qt_webkit.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_webkit.jnilib',     - 添加' libcom_trolltech_qt_xmlpatterns.jnilib'到图书馆地图     - library:name =' lib / libcom_trolltech_qt_xmlpatterns.jnilib',     - 插件路径='插件'     - 使用缓存目录:' /var/folders/jq/vjb1r8w94vs4z3ysdx8b2c1h0000gn/T/QtJambi_jop_x86_64_4.7.0_gcc-20101012-2105'     - 缓存目录存在加载库:' libQtCore.4.dylib' ...     - 使用部署规范

     

在   com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:431)     在   com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:356)     在com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:145)at   com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:141)at at   com.trolltech.qt.QtJambi_LibraryInitializer。(QtJambi_LibraryInitializer.java:56)     ... 1更多引起:java.lang.UnsatisfiedLinkError:   /private/var/folders/jq/vjb1r8w94vs4z3ysdx8b2c1h0000gn/T/QtJambi_jop_x86_64_4.7.0_gcc-20101012-2105/lib/libQtCore.4.dylib:   dlopen的(/private/var/folders/jq/vjb1r8w94vs4z3ysdx8b2c1h0000gn/T/QtJambi_jop_x86_64_4.7.0_gcc-20101012-2105/lib/libQtCore.4.dylib,   1):找不到合适的图像。找到了:     /private/var/folders/jq/vjb1r8w94vs4z3ysdx8b2c1h0000gn/T/QtJambi_jop_x86_64_4.7.0_gcc-20101012-2105/lib/libQtCore.4.dylib:   马赫,但错误的建筑   java.lang.ClassLoader $ NativeLibrary.load(Native Method)at   java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)at   java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)at   java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)at   java.lang.Runtime.load0(Runtime.java:795)at   java.lang.Runtime.load(Runtime.java:783)at   com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:458)     在   com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:426)     ......还有5个

如何解决?

0 个答案:

没有答案