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:
  1. Window {
  2. id: window
  3. visible: true
  4. width: 480
  5. height: 272
  6. title: qsTr("Hello World")
  7. Item {
  8. //rotate all elements
  9. transform: Rotation{origin.x: 240; origin.y: 136; angle: 180}
  10. Button{
  11. width: 100
  12. height: 50
  13. text: "TEST"
  14. }
  15. }
  16. }
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!