This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM8168上运行Qt5.6 应用程序,使用eglfs插件,后端使用X11还是kms?



step 1: 交叉编译qt5.6源码,得到Qt5库以及编译工具qmake

step 2: qmake Qt5.6 上的qml 例子

step 3: 将Qt5库以及例子应用程序移植到8168板子上

如:./chapter3-bindings

报错:

Could not open egl display
Aborted

evn:

export QTDIR=/usr/local/qt5
export QT_QPA_FONTDIR=$QTDIR/lib/fonts
export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR/plugins
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export PATH=$QTDIR/bin:$PATH
export PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig/$PKG_CONFIG_PATH
export DISPLAY=:0.0