I would like to use Qt without x11 in ubuntu 16.
Can anyone please suggest me possible solutions?
Thanks in advance
Printable View
I would like to use Qt without x11 in ubuntu 16.
Can anyone please suggest me possible solutions?
Thanks in advance
X11 is required for Qt on linux platforms as far as I know. All of Qt's GUI goes through the platform abstraction layer into the X11 drivers.
Depends what you want to use. Qt GUI apps on Linux by default use xcb (aka X11) platform plugin, but:
1. If you don't need GUI at all, disable QtGui module (QT -= gui) in your project
2. If you need GUI but not X11 (e.g. when using wayland), use a different platform plugin (e.g. add -platform wayland to command line arguments for your app)
i need to use qt for displaying to a touch screen using rasberry without x11..before implementing in rasberry pi i wanted to try in ubuntu..
I would be really grateful if anyone could guide me properly for displaying in a rasberry pi using qt without x11..
when i am trying to run with platform eglfs i am getting an error in config file.
it is showing as configure cannot be found
I am new to qt..
can you please guide me how to configure in qt?
when i checked i am not having configure.exe in my folder..configure.prf is present..is it a problem?
"-platform eglfs" is a runtime option for an application you want to execute on Raspberry Pi. Configure has nothing to do with this.
You can follow e.g. this tutorial to get Qt running on Pi: https://www.ics.com/blog/configuring...r-raspberry-pi