[QtonPi] To people receiving their devices and hungry to build their own Qt5 for it
Floris Bos / Maxnet
bos at je-eigen-domein.nl
Wed Apr 25 22:49:02 CEST 2012
Hi,
On 04/25/2012 10:09 PM, Donald Carr wrote:
> Did you use to the build webkit script?
>
> http://qt-project.org/wiki/Building_Qt_5_from_Git#ea08b139b3b1d93b208af4264fb07511
Yes, I did follow the instructions there, and use the build-webkit script.
It seems the file missing is supposed to be generated automatically, but
it is not.
I did found the following workaround to continue building:
==
cd qtwebkit/Source/WebCore
./make-generated-sources.sh
cp DerivedSources/WebCore/XMLViewerCSS.h .
cp DerivedSources/WebCore/XMLViewerJS.h .
==
There are however more issues:
- the WebGL support code does not build, because it is using constants
like GL_READ_FRAMEBUFFER_EXT which do not exist in the Raspberry OpenGL
header files.
Side stepped that issue for now by disabling WebGL using the
"--no-3d-canvas" build-webkit script option.
- build fails multiple times in
qt5/qtwebkit/Source/WebKit2/UIProcess/API/qt because the files there
have includes that use Qt 4.8 header locations (e.g. "#include
<QtDeclarative/somefile>")
I see there is already a closed bug for the last issue:
https://bugs.webkit.org/show_bug.cgi?id=82195
But the version you get when you fetch the source with the
"init-repository" script doesn't have that fix.
While fetch the latest master code and give it another try in a few days.
Yours sincerely,
Floris Bos
> Cheers,
> Donald
>
> On Wed, Apr 25, 2012 at 4:47 AM, Floris Bos / Maxnet
> <bos at je-eigen-domein.nl> wrote:
>> On 04/25/2012 01:32 AM, Donald Carr wrote:
>>> What are the
>>> technical issues with webkit and snowshoe ? (surely cross building is
>>> not..?)
>>> Webkit 2 is out of process. The eglfs driver is single process. Now,
>>> this might simply work out of the box, but my Pi is missing in action
>>> and getting Qt Webkit built has been thwarted by a host of build
>>> issues, such as a QScript dependency etc etc. I also hit a cross
>>> compiler crash in one module, and hence need to drop in to -O1 for
>>> that one object file, which is glorious to attempt to automate without
>>> dropping down to -O1 for all of webkit, which entirely trashes
>>> Javascript performance on the target.
>> Did an attempt at compiling webkit (with the
>> arm-bcm2708hardfp-linux-gnueabi-g++ toolchain).
>> But never got to interesting compiler crashes.
>>
>> Complains about a missing file instead:
>>
>>
>> ==
>> /hdd/max/dev/raspberry/qt5/qtwebkit/Source/WebCore/xml/XMLTreeViewer.cpp:42:26:
>> fatal error: XMLViewerCSS.h: No such file or directory
>> compilation terminated.
>> make[3]: *** [obj/release/xml/XMLTreeViewer.o] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> make[3]: Leaving directory
>> `/hdd/max/dev/raspberry/qt5/qtwebkit/3486PWD/WebKitBuild/Release/Source/WebCore'
>> make[2]: *** [sub-Target-pri-make_default-ordered] Error 2
>> make[2]: Leaving directory
>> `/hdd/max/dev/raspberry/qt5/qtwebkit/3486PWD/WebKitBuild/Release/Source/WebCore'
>> make[1]: *** [sub-Source-WebCore-WebCore-pro-make_default-ordered] Error 2
>> make[1]: Leaving directory
>> `/hdd/max/dev/raspberry/qt5/qtwebkit/3486PWD/WebKitBuild/Release'
>> make: *** [incremental] Error 2
>> ==
>>
>> File doesn't seem to be part of the Qt source.
>>
>> max at lynx:/hdd/max/dev/raspberry/qt5$ find . |grep XMLViewerCSS.h
>> max at lynx:/hdd/max/dev/raspberry/qt5$
>>
>>
>> Yours sincerely,
>>
>> Floris Bos
>> _______________________________________________
>> QtonPi mailing list
>> QtonPi at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qtonpi
>
>
More information about the QtonPi
mailing list