[Qtwebengine] armv7, eglfs, qtwebenginewidgets, fancybrowser result in blank screen, and how to enable logging.

Rob Vogelaar revmh68 at gmail.com
Wed Apr 30 06:36:08 CEST 2014


Hello qtwebengine team,

I completed an armv7 eglfs qtwebenegine build against the recent repo.
Below are my patches and notes. I am getting a blank screen (with a
functional mouse, and it did create a few files in /.local/, and an strace
indicates an attempt to http:get  'www.google.com' ). apitrace does not
indicate any gles2 from the chromium gpu command buffer, only gles2 I see
is from Qt (mouse cursor).

- Do you have any debug suggestions based on the below output from running
fancybrowser?
- How do I enable logging?  --enable-logging --v=1  does not seem to enable
logging.

thanks!
Rob

1) Qt-5.3.0-beta (+qglcontext patch from stable)

2) gyp_run.pro
   GYP_ARGS += "-D sysroot=\"\""
   i have an empty QT_SYSROOT

3) 3rdparty/chromium/build/common.gypi
      ###    '-fvisibility=hidden',
   otherwise it does not link

4)
root/open_source_archive/linux/toolchains/gcc-4.7.3_glibc-x86_64/arm-cortex-linux-gnueabi/sys-root/usr/include/linux/input.h
   +#define ABS_MT_SLOT             0x2f
   +#define SYN_DROPPED             3
   +#define INPUT_PROP_MAX          0x1f
   +#define INPUT_PROP_CNT          (INPUT_PROP_MAX + 1)
   +#define EVIOCGPROP(len)         _IOC(_IOC_READ, 'E', 0x09, len)

5) link-errors due to not compiling this file: add it to
qtwebengine\src\core\Release\obj\src\3rdparty\chromium\ui\ui.ninja
    ../../src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data.cc

on the target:

6) export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/nfs/qtwebengine/lib
7) cp /nfs/qtwebengine/libexec/QtWebEngineProcess /usr/local/Qt/libexec/
8) ln -s /appfs/3ddrivers/ ./3ddrivers
9) cp
/nfs/qtwebengine/src/core/Release/gen/repack/qtwebengine_resources.pak
/usr/local/Qt/
10) mkdir -p /.local/share
   mount tmpfs /.local/share/ -ttmpfs
11) cd /nfs/qtwebengine/examples/webenginewidgets/fancybrowser/
12)./fancybrowser
[0429/222002:WARNING:resource_bundle.cc(280)] locale_file_path.empty()
[0429/222002:WARNING:proxy_service.cc(890)] PAC support disabled because
there is no system implementation
QSGContext::initialize: depth buffer support missing, expect rendering
errors
QSGContext::initialize: stencil buffer support missing, expect rendering
errors
[0429/222002:WARNING:resource_bundle.cc(280)] locale_file_path.empty()

13) ls -alR /.local/share/fancybrowser/QtWebEngine/
/.local/share/fancybrowser/QtWebEngine/:
total 16
drwx------    4 root     root           120 Apr 29 22:20 .
drwx------    3 root     root            60 Apr 29 22:20 ..
drwx------    2 root     root           140 Apr 29 22:20 Cache
-rw-r--r--    1 root     root          6144 Apr 29 22:20 Cookies
-rw-r--r--    1 root     root          4640 Apr 29 22:20 Cookies-journal
drwx------    2 root     root           140 Apr 29 22:20 GPUCache

/.local/share/fancybrowser/QtWebEngine/Cache:
total 72
drwx------    2 root     root           140 Apr 29 22:20 .
drwx------    4 root     root           120 Apr 29 22:20 ..
-rw-------    1 root     root         45056 Apr 29 22:20 data_0
-rw-------    1 root     root        270336 Apr 29 22:20 data_1
-rw-------    1 root     root       1056768 Apr 29 22:20 data_2
-rw-------    1 root     root          8192 Apr 29 22:20 data_3
-rw-------    1 root     root        262512 Apr 29 22:20 index

/.local/share/fancybrowser/QtWebEngine/GPUCache:
total 36
drwx------    2 root     root           140 Apr 29 22:20 .
drwx------    4 root     root           120 Apr 29 22:20 ..
-rw-------    1 root     root          8192 Apr 29 22:20 data_0
-rw-------    1 root     root        270336 Apr 29 22:20 data_1
-rw-------    1 root     root          8192 Apr 29 22:20 data_2
-rw-------    1 root     root          8192 Apr 29 22:20 data_3
-rw-------    1 root     root        262512 Apr 29 22:20 index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20140429/466536d3/attachment.html>


More information about the QtWebEngine mailing list