How to enable EGLFS?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
11,853件の閲覧回数
aveselinov
Contributor III

I have built an image using Yocto Project. Also built Qt SDK to be able to develop qt applications for my board.

The OS is console-only, so I want to use EGLFS  plugin backend. What are the steps?

 

I'm testing a simple QtWidget application. But I get this output (with debug enabled) when I try to run it:

 

# ./helloworld     
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_viv")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_viv")
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_viv"
qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_viv"
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
 If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
Could not open egl display
Aborted

 

Having exported:

QT_QPA_PLATFORM=eglfs

DISPLAY=:0.0

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
6,475件の閲覧回数
aveselinov
Contributor III

I fixed it. Could not open egl display | Qt Forum 

It was missing the gpu driver.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
6,476件の閲覧回数
aveselinov
Contributor III

I fixed it. Could not open egl display | Qt Forum 

It was missing the gpu driver.

0 件の賞賛
返信