Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem of QT5.3.2 with X11's EGL



  • Hi,
    I am the beginner of QT and got a problem to integrate Qt with X11.
    Based on Yocto project, I used "bitbake core-image-x11" to build an X11 image for Renesas RCAR-M2 Koelsch board.
    And i tried to integrate QT5(meta-qt5, dizzy branch) into X11 image on Koelsch board.
    Finally, The system can boot into X window, and the test application for gles2 can run successfully on the board.
    However, I failed to run QT5 application(eg. Qt5_CinematicExperience, qtsmarthome) and got the following error message:

    Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
    Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    Cant find EGLConfig, returning null config
    Unable to find an X11 visual which matches EGL config 0
    Could not initialize OpenGL

    The linux kernel version of the image is 3.10.31, and the following is the summary of QTbase configure's log:
    Build options:
    Configuration .......... accessibility accessibility-atspi-bridge audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile dbus egl egl_x11 evdev eventfd freetype full-config getaddrinfo getifaddrs icu inotify ipv6ifname large-config largefile libudev medium-config minimal-config mremap no-harfbuzz opengl opengles2 openssl-linked pcre png posix_fallocate pulseaudio qpa qpa reduce_exports release shared silent small-config system-jpeg system-png system-zlib xcb xcb-glx xcb-plugin xcb-render xcb-xlib xinput2 xkbcommon-qt xlib xrender
    Build parts ............ libs tools
    Mode ................... release
    Using C++11 ............ yes
    Using PCH .............. no
    Target compiler supports:
    iWMMXt/Neon .......... no/auto

    Qt modules and options:
    Qt D-Bus ............... yes (loading dbus-1 at runtime)
    Qt Concurrent .......... yes
    Qt GUI ................. yes
    Qt Widgets ............. yes
    Large File ............. yes
    QML debugging .......... yes
    Use system proxies ..... no

    Support enabled for:
    Accessibility .......... yes
    ALSA ................... no
    CUPS ................... no
    Evdev .................. yes
    FontConfig ............. no
    FreeType ............... qt
    Glib ................... no
    GTK theme .............. no
    HarfBuzz ............... no
    Iconv .................. no
    ICU .................... yes
    Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
    journald ............... no
    mtdev .................. no
    Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. yes (linked to the libraries)
    NIS .................... no
    OpenGL / OpenVG:
    EGL .................. yes
    OpenGL ............... yes (OpenGL ES 2.x)
    OpenVG ............... no
    PCRE ................... yes (bundled copy)
    pkg-config ............. yes
    PulseAudio ............. yes
    QPA backends:
    DirectFB ............. no
    EGLFS ................ no
    KMS .................. no
    LinuxFB .............. no
    XCB .................. yes (system library)
    EGL on X ........... yes
    GLX ................ yes
    MIT-SHM ............ no
    Xcb-Xlib ........... yes
    Xcursor ............ yes
    Xfixes ............. yes
    Xi ................. no
    Xi2 ................ yes
    Xinerama ........... yes
    Xrandr ............. yes
    Xrender ............ yes
    XKB ................ yes
    XShape ............. yes
    XSync .............. yes
    XVideo ............. yes
    Session management ..... no
    SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ no
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... no
    TDS .................. no
    udev ................... yes
    xkbcommon .............. yes (bundled copy, XKB config root: /usr/share/X11/xkb)
    zlib ................... yes (system library)

    Any ideas or suggestions?
    Thanks...


Log in to reply