dzeko1236
Posts: 19
Joined: Wed Mar 31, 2021 9:45 pm

Adding Xcb plugin and QtWayland

Wed Jul 21, 2021 8:35 pm

Hello ,
How can i install xcb plugin in raspbian .

and how to install Qtwayland .
thankyou

User avatar
topguy
Posts: 7214
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Adding Xcb plugin and QtWayland

Wed Jul 21, 2021 9:07 pm

Maybe you want to mention which software this "xcb plugin" is supposed to "plug into" ?

dzeko1236
Posts: 19
Joined: Wed Mar 31, 2021 9:45 pm

Re: Adding Xcb plugin and QtWayland

Wed Jul 21, 2021 9:40 pm

currently I cross compiled a Qt app on RPi3 .
I run it normally using eglfs platform but it misses some things like a title bar , can't move or resize window .

So I read in many documentation that I need :

1- a window manager
2- run the app with -platform xcb or run using wayland .

I am really new in cross compilation and linux .

So this problem seem very hard to me .

I will appreciate any suggestion .

thank you

User avatar
topguy
Posts: 7214
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Adding Xcb plugin and QtWayland

Thu Jul 22, 2021 8:36 am

currently I cross compiled a Qt app on RPi3 .
Then can I assume you also cross-compiled Qt yourself ?? ( that was the only way of getting eglfs to work earlier at least )
Because the XCB plugin is built during the build of Qt so you have to add it during the configuration step.
I run it normally using eglfs platform but it misses some things like a title bar , can't move or resize window .
Yes, eglfs will always run in fullscreen but with hardware accellerated graphics.
Is you app a C++ application or QML ? ( or a mix )

dzeko1236
Posts: 19
Joined: Wed Mar 31, 2021 9:45 pm

Re: Adding Xcb plugin and QtWayland

Thu Jul 22, 2021 8:49 am

My App is a mix between c++ and Qml .

So if i understand you , i should recompile Qt , and add the XCB plugin to my configuration ?

In this case can you suggest a tutorial or a documentation to help me .

thank you

User avatar
topguy
Posts: 7214
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Adding Xcb plugin and QtWayland

Fri Jul 23, 2021 10:02 am

Did you follow a tutorial to start with ?

Return to “Graphics programming”