Reply To: Qt5 on PiScreen

Home Forums Forums Technical Support for PiScreen Qt5 on PiScreen Reply To: Qt5 on PiScreen

#4172
Mark Williams
Keymaster

1)
Have a look in /etc/X11/xinit/xinitrc and see if there are any lines like this;

DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axes Swap' 1
DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axis Inversion' 1 1

If there are, delete them.
Then delete the calibration file and then reboot to run the calibration program again.

2)
are you using fbcp? If so, this isn't really a good way to do it.. I consider this a sort of 'hack'.
I am not familiar with Qt. However, in your code.. can you force it to display the output on a given framebuffer? If so.. use framebuffer /dev/fb1

Mark --OzzMaker.com --

Blip, blop, bloop...