Hi Istvan, Thanks for the advice. I manage to get it running (the build script ie.) with the cross-compiler correctly. The sqlite headers are not a problem after I set the pkg-config variables properly to use the pc files from the target root filesystem and point to the headers in it.
I'm currently getting errors like these: /home/huahsing/work/source/QT-RPM-BUILD/qt-webkit-2.3/webkit-qtwebkit-23/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:120:5: error: ‘PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG’ does not name a type /home/huahsing/work/source/QT-RPM-BUILD/qt-webkit-2.3/webkit-qtwebkit-23/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:121:5: error: ‘PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG’ does not name a type By the way, it seems like ANGLE is enabled by default. I have my own set of OpenGLES 2 / EGL libraries and headers; so how do I disable ANGLE? I already added opengles2 to the CONFIG/QT_CONFIG via qmakearg, but apparently ANGLE still seems to be enabled?? In my gl2ext.h, it already has these: typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); enabled, so I'm guessing I should not encounter the above errors if I'm using my own headers. Any ideas will be much appreciated :) Cheers Hua-Hsing *<> Hua Hsing* On 19 August 2013 16:34, "Sárkány, István" <[email protected]> wrote: > Hi Hua, > > You can cross-compile using the build-webkit script, but if I remember > right your prefix has to point to the cross-compiled QT_INSTALL_DIR, from > where it'll take the qmake.conf which it will use then to cross-compile. So > call something like: > Tools/Scripts/build-webkit --qt \ > --release \ > --no-webkit2 \ > --no-force-sse2 \ > --qmakearg="CONFIG+=production_build" \ > --prefix=$(QT_INSTALL_DIR) > Also you might need to set the SQLITE3SRCDIR manually to point to the > headers already available in qt/src/3rdparty/sqlite > > Best regards, > Istvan > > > On 08/15/2013 12:31 PM, Hua Hsing wrote: > > Hi, > > I'm trying out qt-webkit 2.3 with qt-4.8. The problem is, > Tools/Scripts/build-webkit does not work for me as I'm working in Fedora > host cross-compiling for ARM target. I've been cross-compiling my > qt-embedded-4.8 all this while, and right now I'm kind of at a loss as to > how to build this qt-webkit 2.3 alongside the rest of my Qt package. > > > *Cheers,* > *Hua-Hsing* > > > _______________________________________________ > webkit-qt mailing > [email protected]https://lists.webkit.org/mailman/listinfo/webkit-qt > > > > _______________________________________________ > webkit-qt mailing list > [email protected] > https://lists.webkit.org/mailman/listinfo/webkit-qt > >
_______________________________________________ webkit-qt mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-qt
