Hello, again! Thanks, it will be very interesting to see if that tip from Eskil will solve the issue.
Helge On 07/12/2010 12:56 PM, Robert Lebel wrote: > Ok. I will later today. Thansk! > > 2010/7/12 Helge Fredriksen<[email protected]>: > >> Hello! >> >> Could you check this hint and report your findings: >> >> Den 04.05.2010 13:57, skrev ext Jose Manrique Lopez de la Fuente: >> >> >>> Loading library: 'libQtWebKit.so.4'... >>> >> >>> - 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:145) >>> >> >>> at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:141) >>> at >>> com.trolltech.qt.webkit.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:10) >>> >> >>> ... 21 more >>> Caused by: java.lang.UnsatisfiedLinkError: >>> >>> /tmp/QtJambi_jose_manrique_i386_4.6.3_gcc-20100324-1203/lib/libQtWebKit.so.4: >>> >> >>> /usr/lib/libQtXmlPatterns.so.4: undefined symbol: >>> _ZN14QObjectPrivate15checkWindowRoleEv >>> at java.lang.ClassLoader$NativeLibrary.load(Native Method) >>> >> >>> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) >>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) >>> >> >>> at java.lang.Runtime.load0(Runtime.java:787) >>> at java.lang.Runtime.load(Runtime.java:775) >>> at >>> com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:458) >>> >> >>> at >>> com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:426) >>> ... 25 more >>> >> >>> >>> >>> >> This is caused by a change to QtWebKit that has added a dependency on >> >> the QtXmlPatterns library. To avoid loading the wrong instance of a >> dependency, they need to be preloaded. This is done by adding a line to >> the respective typesystem xml file which loads the dependency before >> >> loading the dependent library. In this case, the problem can be solved >> by adding the following line to typesystem_webkit-java.xml and >> regenerating the source code: >> >> com.trolltech.qt.Utilities.loadQtLibrary("QtXmlPatterns"); >> >> >> Put it directly before the call to load "QtWebKit". There are probably >> other dependencies that you want to add there as well, e.g. for QtXml. >> Note that when explicitly loading dependencies in this way, you also >> >> have to load the dependency's dependency. E.g. since QtXmlPatterns >> depends on QtNetwork, then QtNetwork has to be preloaded first, as we >> can see from looking at typesystem_xmlpatterns-java.xml. This is already >> >> done for QtWebKit, so no need to worry about it this time. >> >> -- Eskil >> >> >> On Sun, Jul 11, 2010 at 3:59 PM, Robert Lebel<[email protected]> wrote: >> >>> Hi Helge, >>> >>> I tried to test it with my app (which is still using 4.5.2) and I get >>> the NoClassDefFoundError for QWebView. >>> >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> com.trolltech.qt.webkit.QWebView >>> at >>> com.eurekacook.desktop.ui.rcpbrowser.RecipeView.initWebView(RecipeView.java:303) >>> ... >>> >>> >>> 2010/7/10 Helge Fredriksen<[email protected]>: >>> >>>> Check out the new release on sourceforge: >>>> >>>> >>>> http://sourceforge.net/projects/qtjambi/files/4.6.3/setup-qt-jambi-4.6.3-win32.exe/download >>>> >>>> This one is compiled towards precompiled Qt msvc2005 on a Windows XP >>>> service pack 3, please test >>>> and tell me how it works. >>>> >>>> PS: Even made the effort to write a release note this time: >>>> http://qtjambi.sourceforge.net/release-notes-for-qtjambi-4-6-3 >>>> >>>> I will target a 64bit windows release as well from this repository >>>> before we should turn our >>>> effort towards 4.7. Does anyone have the resources to attempt to help us >>>> build a Mac OSX >>>> release? >>>> >>>> Best regards, >>>> Helge Fredriksen >>>> _______________________________________________ >>>> 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
