Important: Please read the Qt Code of Conduct -

Qt 5.6.0 opengl runtime error

  • Hello:
    I am using toolchain arm-linux-gnueabihf-gcc 4.7.3 from ti
    I configure the qt source as following
    ../configure -release -opensource -confirm-license -plugin-sql-sqlite -xplatform linux-arm-gnueabi-g++ -opengl es2 -no-c++11 -qt-libjpeg -qt-libpng -qt-zlib -prefix /opt/qt5.5_arm -sysroot /opt/linux-devkit/sysroots/armv7ahf-vfp-neon-3.2-oe-linux-gnueabi -nomake examples -nomake tests -skip multimedia -no-qml-debug -linuxfb -no-iconv -tslib -widgets -extprefix /opt/qt5.5_arm
    and I compile the qt 5.6.0 successfully. Then I compile the test app and run on my board
    It report error:
    Cannot find EGLConfig, returning null config
    EGL Error : Could not create the egl surface: error = 0x3005
    my environment is as following
    root@DR02:~# export
    export EDITOR="/bin/vi"
    export HOME="/home/root"
    export LD_LIBRARY_PATH="/usr/lib/plugins"
    export LOGNAME="root"
    export OLDPWD
    export OPIEDIR
    export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
    export PS1="\u@\h:\w\$ "
    export PWD="/home/root"
    export QPEDIR
    export QTDIR="/usr"
    export QT_QPA_EGLFS_DEBUG="1"
    export QT_QPA_EGLFS_FB="/dev/fb0"
    export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="/dev/input/touchscreen0:invertx:rotate=90"
    export QT_QPA_FB_TSLIB="1"
    export QT_QPA_FONTDIR="/usr/lib/fonts"
    export QT_QPA_GENERIC_PLUGINS="tslib:/dev/input/touchscreen0"
    export QT_QPA_PLATFORM="eglfs"
    export QT_QPA_PLATFORM_PLUGIN_PATH="/usr/lib/plugins"
    export QWS_KEYBOARD="TTY:/dev/tty0 SysconKeyboard"
    export QWS_MOUSE_PROTO
    export SHELL="/bin/sh"
    export SHLVL="1"
    export SSH_CONNECTION=" 47302 22"
    export SSH_TTY="/dev/pts/1"
    export TERM="xterm-256color"
    export TSLIB_CALIBFILE="/etc/pointercal"
    export TSLIB_CONFFILE="/etc/ts.conf"
    export TSLIB_PLUGINDIR="/lib/ts/"
    export TSLIB_TSDEVICE="/dev/input/touchscreen0"
    export TZ="UTC"
    export USER="root"
    My board is am335x ,my system is linux 3.2.0,I run the sgx530 demo fine on my board.I can see the man run very fast on my board.
    Can any one tell my why.

Log in to reply