Hardware: I am using colibri VF61 module. Using toradex’s 7" TFT display.
Software: I have built linux image V2.5 with Qt 5 with openembedded build system. This image has LXDE desktop environment.
Now I can run Qt application when display manager (or window manger?) is running.
I want to disable display manager ( or window manager whatever) and run only Qt application fullscreen.
Now as soon as i give command “systemctl stop lxdm”; it stops properly and blank screen is shown.
But now when I run my application it gives error as follows:
QXcbConnection: Could not connect to display :0.0
I found out that I have following Qt platform plugins available.
minimal, offscreen, xcb.
I tried each of them with following parameters to the application command.
1. ./my_app -platform minimal 2. ./my_app -platform offscreen 3. ./my_app -platform xcb
For first two commands, application starts; but doesn’t show ANYTHING on the LCD screen. And gives message “This plugin does not support propagateSizeHints()”
For the third, it gives the error “QXcbConnection: Could not connect to display :0.0 Aborted” and application is terminated.
- What I am missing?
- With available plugins, can I run fullscreen qt application without LXDE.
- What configurations needed?
- Also can you give configurations to be made for touchscreen etc.