Jump to content

Photo

RespeQT on linux framebuffer (no X11)


6 replies to this topic

#1 mozzwald OFFLINE  

mozzwald

    Space Invader

  • 14 posts
  • Location:Peoria, IL

Posted Thu Feb 2, 2017 2:54 PM

I have built RespeQT using the openwrt build system (musl libc, qt5) for an armv5 computer that does not run X. The build completes and the binary does run on the target platform, but it complains about missing libxcb plugin. From what I gather, libxcb is a X11 related library and in my case would not be needed (unless, of course, it is required by respeqt to run).

 

My question is, can respeqt run on linux framebuffer only or is X11 required?

root@zipitz2:~/a8b# respeqt
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: linuxfb, minimal.

Reinstalling the application may fix this problem.
Aborted

 



#2 TheMontezuma OFFLINE  

TheMontezuma

    Dragonstomper

  • 676 posts
  • Location:Hildesheim, D / Kraków, PL

Posted Thu Feb 2, 2017 3:17 PM

If you are able to run any Qt application with GUI on your machine, you should be also able to run RespeQt.

 

Please look here as well:

http://doc.qt.io/qt-...-platforms.html



#3 mozzwald OFFLINE  

mozzwald

    Space Invader

  • Topic Starter
  • 14 posts
  • Location:Peoria, IL

Posted Thu Feb 2, 2017 5:03 PM

I suspect it's an issue with the cross compiling environment. Maybe it's pulling in the host libraries since I don't have xcb/xlib support in the openwrt build system.

 

Do you have a list of the required qt5 plugins/modules (ie, network, xml, printsupport)? I could not find it in the github readme.

 

Thanks



#4 mozzwald OFFLINE  

mozzwald

    Space Invader

  • Topic Starter
  • 14 posts
  • Location:Peoria, IL

Posted Sun Feb 5, 2017 12:15 PM

I am able to get the ui to display on screen by setting the qt environment variables for linuxfb. Unfortunately my LCD is only 320x240 so I'll be attempting to redo the ui xml to fit the screen.



#5 zzip OFFLINE  

zzip

    River Patroller

  • 2,662 posts

Posted Mon Feb 6, 2017 9:44 AM

I have built RespeQT using the openwrt build system (musl libc, qt5) for an armv5 computer that does not run X. The build completes and the binary does run on the target platform, but it complains about missing libxcb plugin. From what I gather, libxcb is a X11 related library and in my case would not be needed (unless, of course, it is required by respeqt to run).

 

My question is, can respeqt run on linux framebuffer only or is X11 required?

root@zipitz2:~/a8b# respeqt
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: linuxfb, minimal.

Reinstalling the application may fix this problem.
Aborted

 

 I think QT needs X,  or maybe something like "Wayland" in the future.  I don't think it can use the FB directly.  Though I haven't QT development for awhile and could be wrong.



#6 mozzwald OFFLINE  

mozzwald

    Space Invader

  • Topic Starter
  • 14 posts
  • Location:Peoria, IL

Posted Mon Feb 6, 2017 12:49 PM

 

 I think QT needs X,  or maybe something like "Wayland" in the future.  I don't think it can use the FB directly.  Though I haven't QT development for awhile and could be wrong.

 

I'm new to Qt myself, hence the problems I'm having :) Qt does have linux framebuffer support and I have been able to get RespeQt running on my Zipit handheld. I tweaked the main screen of the ui to run in fullscreen mode and reduced the size of the icons/widgets. Still a lot of work to be done to make it completely usable, and it's a bit slow with only 32MB RAM. Need to actually test it on the Atari next. My patches are at https://github.com/o.../master/respeqt



#7 Joey Z OFFLINE  

Joey Z

    Dragonstomper

  • 876 posts
  • Location:Hoffman Estates, IL

Posted Tue Apr 11, 2017 2:14 PM

yes, provide Qt has linux FB support (and it appears it does) there's something you've got to configure within your Qt build environment to use the linuxfb instead. I'm not sure how to do this, but it might involve building the Qt libs from scratch, unfortunately. There should be nothing in RespeQt that inherently requires X11. Let us know how it goes :)





Reply to this topic



  


0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users