Ok, so I've been scouring the internet for an answer tot this one, but nothing so far.
I'm using my Embedded QT installation with B2QT and an Colibri imx6.
My current problem is that my screen is mounted upside down, but the touchscreen is mounted normally.
Whenever I use the following code, the button isn't clickable, as the touchscreen rotate with the display.
Qt Code:
Window { id: window visible: true width: 480 height: 272 title: qsTr("Hello World") Item { //rotate all elements transform: Rotation{origin.x: 240; origin.y: 136; angle: 180} Button{ width: 100 height: 50 text: "TEST" } } }To copy to clipboard, switch view to plain text mode
Is there any way to rotate one of them on their own?
I've also tried rotating screen in Linux and U-Boot, but had no success, as there's no compositor because it runs on EGLFS.
Any insight would be welcoming!
Bookmarks