Build WebKit-r97664 successfully on Necessitas-0.3, but load fails

gujx gujx at cn.fujitsu.com
Thu Feb 2 06:25:43 UTC 2012


Hi, BogDan

I managed to compile WebKit-r97664 successfully on Necessitas-0.3, and replace
it with Ministro's internal libWebKit.so, 
But weirdly, the test app(which uses a WebView to simply load a URL) crashed.
I compared the logcat output with normal case, which is as below:

WebKit-r97664 crash:
...
D/Qt ( 839): paramsString "QtApp -platform android" 
W/Qt ( 839): WARNING: QApplication was not created in the main() thread.
D/Qt ( 839): QAndroidPlatformIntegrationPlugin::create "android" 
D/Qt ( 839): QAndroidPlatformIntegration::QAndroidPlatformIntegration():
creating QAndroidPlatformScreen => Using Raster (Software) for painting 
D/Qt ( 839): QFbScreen::setPhysicalSize QSize(51, 85) 
D/Qt ( 839): QFbScreen::setGeometry QRect(0,0 480x800) 
D/Qt ( 839): QAndroidPlatformScreen::QAndroidPlatformScreen():QFbScreen() 
W/dalvikvm( 839): dvmFindClassByName rejecting
'org/kde/necessitas/industrius/QtNativeInputConnection'
W/dalvikvm( 839): dvmFindClassByName rejecting
'org/kde/necessitas/industrius/QtExtractedText'
D/Qt ( 839): setDisplayMetrics 
D/Qt ( 839): setDisplayMetrics done 
D/Qt ( 839): setDesktopSize 
D/Qt ( 839): setDesktopSize done 
I/Qt JAVA ( 839): surfaceChanged: 480,762,480,762
D/Qt ( 839): setDisplayMetrics 
D/Qt ( 839): setDisplayMetrics done 
D/Qt ( 839): setDesktopSize 
D/Qt ( 839): setDesktopSize done 
D/dalvikvm( 839): GC_EXTERNAL_ALLOC freed 6225 objects / 343408 bytes in 605ms

Normal case:
...
D/Qt ( 943): paramsString "QtApp -platform android" 
W/Qt ( 943): WARNING: QApplication was not created in the main() thread.
D/Qt ( 943): QAndroidPlatformIntegrationPlugin::create "android" 
D/Qt ( 943): QAndroidPlatformIntegration::QAndroidPlatformIntegration():
creating QAndroidPlatformScreen => Using Raster (Software) for painting 
I/Qt JAVA ( 943): surfaceChanged: 480,762,480,762
D/Qt ( 943): QFbScreen::setPhysicalSize QSize(51, 81) 
D/Qt ( 943): QFbScreen::setGeometry QRect(0,0 480x762) 
D/Qt ( 943): QAndroidPlatformScreen::QAndroidPlatformScreen():QFbScreen() 
D/dalvikvm( 943): GC_EXTERNAL_ALLOC freed 6185 objects / 339440 bytes in 678ms
W/dalvikvm( 943): dvmFindClassByName rejecting
'org/kde/necessitas/industrius/QtNativeInputConnection'
W/dalvikvm( 943): dvmFindClassByName rejecting
'org/kde/necessitas/industrius/QtExtractedText'
D/Qt ( 943): createPlatformWindow false 
D/Qt ( 943): setFullScreen false 
D/Qt ( 943): setFullScreen false 
D/Qt ( 943): hideSoftwareKeyboard 

Could you give some hints? or if i want to compile WebKit externally & get it
work, what attentions should i pay?

Look forward to your anwser!

Best wishes!

以上、よろしくお願いします。
--------------------------------------------------
Gu Jinxiang
Development Dept.III
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
6/F., No. 6 Wenzhu Road, Nanjing, 210012, China,
Nanjing, 210012, China    
TEL: +86+25-86630566-8229
COINS: 79955-8229
FAX: +86+25-83317685
MAIL: gujx at cn.fujitsu.com  
-------------------------------------------------- 
This communication is for use by the intended recipient(s) only and may contain
information that is privileged, confidential and exempt from disclosure under
applicable law. If you are not an intended recipient of this communication, you
are hereby notified that any dissemination, distribution or copying hereof is
strictly prohibited.  If you have received this communication in error, please
notify me by reply e-mail, permanently delete this communication from your
system, and destroy any hard copies you may have printed




More information about the Necessitas-devel mailing list