Update on platform plugins issue(s).
mingw android
mingw.android at gmail.com
Mon Jul 18 09:59:26 CEST 2011
Hello,
My qt.prf fix from yesterday is working fine, I managed to build qt
android on Windows and Linux and the plugins get made and packaged
correctly now. WebKit doesn't currently build on Linux (linker error,
pasted to the bottom of this post), not related to any of my changes
as it was like this when I got there, honest ;-)
There were a few minor bugs in QtSurface.java (untested checkin I
guess ;-)) that I also fixed.
One final issue was that the android-N.so plugins (non-openGL) were
getting built as if they were OpenGL plugins because QT_OPENGL_LIB is
always defined (we use android-5 as the base target so configure picks
up OpenGL ES2). I fixed that by defining ANDROID_PLUGIN_OPENGL in
opengl.pro and using that instead of QT_OPENGL_LIB in the shared
platform sources.
It's all committed and pushed.
One thing I noticed with the latest NDK/gdb on Windows, the thing
flies, really fast debugging, maybe 1/4 second source stepping which
is great. There still seems to be some armv7a issues though, I'm
having some trouble getting breakpoints to work. Some thread deadlock
happens. I'll post more details later in case anyone's interested but
I think it's going to be a tricky gdbserver problem. Overall though,
the next Windows release will be much improved.
Cheers,
Ray.
*** WebKit linker errors if anyone wants to try fixing it ***
../JavaScriptCore/release/libjscore.a(RegexJIT.o): In function
`JSC::Yarr::RegexPattern::newlineCharacterClass()':
RegexJIT.cpp:(.text._ZN3JSC4Yarr12RegexPattern21newlineCharacterClassEv[JSC::Yarr::RegexPattern::newlineCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::newlineCreate()'
../JavaScriptCore/release/libjscore.a(RegexJIT.o): In function
`JSC::Yarr::RegexPattern::wordcharCharacterClass()':
RegexJIT.cpp:(.text._ZN3JSC4Yarr12RegexPattern22wordcharCharacterClassEv[JSC::Yarr::RegexPattern::wordcharCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::wordcharCreate()'
../JavaScriptCore/release/libjscore.a(RegexCompiler.o): In function
`JSC::Yarr::RegexPattern::digitsCharacterClass()':
RegexCompiler.cpp:(.text._ZN3JSC4Yarr12RegexPattern20digitsCharacterClassEv[JSC::Yarr::RegexPattern::digitsCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::digitsCreate()'
../JavaScriptCore/release/libjscore.a(RegexCompiler.o): In function
`JSC::Yarr::RegexPattern::spacesCharacterClass()':
RegexCompiler.cpp:(.text._ZN3JSC4Yarr12RegexPattern20spacesCharacterClassEv[JSC::Yarr::RegexPattern::spacesCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::spacesCreate()'
../JavaScriptCore/release/libjscore.a(RegexCompiler.o): In function
`JSC::Yarr::RegexPattern::nondigitsCharacterClass()':
RegexCompiler.cpp:(.text._ZN3JSC4Yarr12RegexPattern23nondigitsCharacterClassEv[JSC::Yarr::RegexPattern::nondigitsCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::nondigitsCreate()'
../JavaScriptCore/release/libjscore.a(RegexCompiler.o): In function
`JSC::Yarr::RegexPattern::nonspacesCharacterClass()':
RegexCompiler.cpp:(.text._ZN3JSC4Yarr12RegexPattern23nonspacesCharacterClassEv[JSC::Yarr::RegexPattern::nonspacesCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::nonspacesCreate()'
../JavaScriptCore/release/libjscore.a(RegexCompiler.o): In function
`JSC::Yarr::RegexPattern::nonwordcharCharacterClass()':
RegexCompiler.cpp:(.text._ZN3JSC4Yarr12RegexPattern25nonwordcharCharacterClassEv[JSC::Yarr::RegexPattern::nonwordcharCharacterClass()]+0x18):
undefined reference to `JSC::Yarr::nonwordcharCreate()'
collect2: ld returned 1 exit status
make[1]: *** [../lib/libQtWebKit.so.4.8.1] Error 1
make[1]: Leaving directory
`/usr/necessitas/Android/Qt/4762/build-webkit-armeabi/Release/WebCore'
make: *** [sub-WebCore-make_default-ordered] Error 2
More information about the Necessitas-devel
mailing list