I would like to use Qt without x11 in ubuntu 16.
Can anyone please suggest me possible solutions?
Thanks in advance
I would like to use Qt without x11 in ubuntu 16.
Can anyone please suggest me possible solutions?
Thanks in advance
Last edited by Amrutha; 21st April 2017 at 15:39.
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.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
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..
Amrutha (24th April 2017)
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?
Last edited by Amrutha; 24th April 2017 at 11:48.
"-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
Bookmarks