Nominate our 2022 Qt Champions!

QEgl Cannot Initialize EGL Display ??

  • Hi All,

    I am using Qt_Embedded Source: Opensource_Everywhere_4.7.4, on Ubuntu 10.04LTS.

    Here is the problem that I have encountered.

    @Initializing QFontEngineQPF failed for /usr/local/Trolltech/Qt-target-version/lib/fonts/DejaVuSans.ttf
    QEgl::display(): Cannot initialize EGL display: "Success (0x3000)"
    QEglContext::chooseConfig(): Could not find a suitable EGL configuration
    Requested: "type=es2 rgba=5,6,5,0 surface-type=window"

    EGL libraries are present in my /usr/lib on the Target_rootfs
    Then I couldnot understand why
    @Could not find a suitable EGL configuration@ is occuring??

    Please Suggest!

  • I think the libraries in the qmake.conf are responsible.

    My QMAKE_LIBS are
    -lglib-2.0 -lgthread-2.0 -lgsl -lEGL -lpng -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lts -lasound -lxml2 -lz

    Are they responsible?
    Have I missed anything?

  • Even Qt Embedded OpenSource 4.8.1 does not help.

    Any Suggestions Please!

Log in to reply