Qt5 - QtWebkit examples do not work on imx535?



  • Hi,

    i have cross compiled Qt5 rc2 for linux imx535 (arm cortexa8).

    i succeed to run qtbase examples but qtwebkit examples do not work.

    This is how i configure Qt5 rc2.
    @./configure -opensource -confirm-license -release -xplatform linux-arm-cortexa8-gnueabi-g++ -prefix /home/rony/Qt5-imx53 -nomake demos -nomake examples -no-directfb -opengl es2 -icu -no-xcb -no-wayland -no-pch -no-pkg-config -eglfs -sysroot buildroot-2012.08/output/host/usr/arm-unknown-linux-gnueabi/sysroot -verbose@

    This is the result of my configure
    @Debug .................. no
    C++11 support .......... yes
    pkg-config ............. no
    QtDBus module .......... no
    QtConcurrent code ...... yes
    QtGui module ........... yes
    QtWidgets module ....... yes
    JavaScriptCore JIT ..... To be decided by JavaScriptCore
    QML debugging .......... yes
    PCH support ............ no
    iWMMXt support ......... no
    NEON support ........... yes
    IPv6 ifname support .... yes
    getaddrinfo support .... yes
    getifaddrs support ..... yes
    Accessibility .......... yes
    NIS support ............ yes
    CUPS support ........... no
    Iconv support .......... yes
    Glib support ........... yes
    GStreamer support ...... no
    PulseAudio support ..... no
    Large File support ..... yes
    GIF support ............ plugin
    JPEG support ........... plugin (system)
    PNG support ............ yes (system)
    zlib support ........... system
    Session management ..... auto
    libudev support ........ no
    Use system proxies ..... no
    OpenGL support ......... yes (OpenGL ES 2.x)
    OpenVG support ......... no
    XShape support ......... auto
    XVideo support ......... auto
    XSync support .......... auto
    Xinerama support ....... runtime
    Xcursor support ........ runtime
    Xfixes support ......... runtime
    Xrandr support ......... runtime
    Xi support ............. runtime
    Xi2 support ............ auto
    MIT-SHM support ........ auto
    FontConfig support ..... no
    XKB Support ............ auto
    GTK theme support ...... no
    SQLite support ......... plugin (qt)
    OpenSSL support ........ no
    Alsa support ........... yes
    libICU support ......... yes
    PCRE support ........... qt
    Xcb support ............ no
    Xrender support ........ no
    EGLFS support .......... yes
    DirectFB support ....... no
    LinuxFB support ........ yes
    KMS support ............ no@

    When i run qtwebkit examples
    @./fancybrowser -platform eglfs@

    i get the following message in console
    @evdevtouch: Using device /dev/input/event0
    min X: 0 max X: 0
    min Y: 0 max Y: 0
    min pressure: 0 max pressure: 1023
    device name: da9052-tsi
    Protocol type A
    Color formats don't match. Falling back to copy forward swap.
    This plugin does not support propagateSizeHints()
    Color formats don't match. Falling back to copy forward swap.
    Segmentation fault@

    I get nearly the same message in console for all qtwebkit examples.

    For the fancybrowser examples, i get these messages from kernel
    @Not all allocated memory blocks were freed. Doing it now.
    Freeing list entry #0, gpuaddr=100000
    Freeing list entry #1, gpuaddr=105000
    Freeing list entry #2, gpuaddr=10a000
    @

    When i run qtbase examples

    @./analogclock -platform eglfs@

    i get the clock on the lcd (others qtbase examples also work), with these messages in console

    @evdevtouch: Using device /dev/input/event0
    min X: 0 max X: 0
    min Y: 0 max Y: 0
    min pressure: 0 max pressure: 1023
    device name: da9052-tsi
    Protocol type A
    Color formats don't match. Falling back to copy forward swap.
    @

    any hint about why qtwebkit examples do not work?

    Thanks in advance,
    rony.



  • Hi,

    i am passed to the final release of Qt5 and i get the same error. Then i have tried to run the fancybrowser example, with gdb and i get this error.

    @Color formats don't match. Falling back to copy forward swap.
    Color formats don't match. Falling back to copy forward swap.

    Program received signal SIGSEGV, Segmentation fault.
    0x41eb23c0 in ShConstructCompiler ()
    from /home/rony/Qt5-imx53/lib/libQt5WebKit.so.5@

    It seems like the problem comes from libQt5WebKit.so.5. The function ShConstructCompiler () is defined here

    @Source/ThirdParty/ANGLE/src/compiler/ShaderLang.cpp:ShHandle ShConstructCompiler(ShShaderType type, ShShaderSpec spec,@

    The error appears when i execute the first instruction of the example

    @{
    QApplication app(argc, argv);
    QUrl url;
    @

    Please any idea about something i'm missing?

    Thanks in advance,
    rony.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.