How to run Qt Application on weston(Wayland-compositor)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to run Qt Application on weston(Wayland-compositor)

6,329件の閲覧回数
vardhmanmodi
Contributor II

Hello,

I want to run Qt Application on Yocto with wayland backend.

I can run and see the weston(Wayland-compositor) GUI using "weston --tty=1 --backend=fbdev-backend.so --device=/dev/fb0 --no-config".

But when I run the Qt Application, it cannot display GUI.

So what I am missing to run Qt Application on weston(Waland-compositor)?

Thanks,

Vardhman.

ラベル(5)
0 件の賞賛
返信
1 返信

4,175件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Vardhman Modi,

Are you still having these troubles? I've not found much information regarding Qt and Wayland but I found a workaround on a mailing list from the Yocto project that perhaps may help, kudos to Eien for this workaround:

http://code.woboq.org/qt5/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp...

Comment in QWaylandGLContext::updateGLFormat() the two following functions calls.

wl_egl_window_destroy(eglWindow);

wl_surface_destroy(wlSurface);

Qt applications run now, with a small memory leak.”

I hope it helps!

0 件の賞賛
返信