View Single Post
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#28
Originally Posted by elros34 View Post
So another (beside kodi) great application which have broken gestures...
After digging through qtwayland and lipstick sources I found it in qt docs:
Code:
+    QWindow *window = w.windowHandle();
+    window->reportContentOrientationChange(Qt::LandscapeOrientation);

 }
Thank you very much I was thinking a way to complicated. Started already to write my own class.
That small code snippet will boost my work on hextool a lot.

The code at sourceforge was my starting point and I changed the gui and keyhandling. Some work I have done could be seen in the maemo repo. However I will try to upload my code changes to github. But this will take some time because I have different source codes for different platforms, so I need to cook them together and publishing only one code.
 

The Following 2 Users Say Thank You to Halftux For This Useful Post: