View Single Post
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#27
So another (beside kodi) great application which have broken gestures...
After digging through qtwayland and lipstick sources I found it in qt docs:
Code:
hextool-git/qt/main.cpp
hextool-git_a/qt/main.cpp
@@ -1,11 +1,14 @@
-#include <QtGui/QApplication>
+#include <QtWidgets/QApplication>
 #include "hextool.h"
+#include <QWindow>
 
 int main(int argc, char *argv[])
 {
     QApplication a(argc, argv);
     HexTool w;
     w.show();
+    QWindow *window = w.windowHandle();
+    window->reportContentOrientationChange(Qt::LandscapeOrientation);
 
     return a.exec();
 }
https://sourceforge.net/p/hextool/git/ci/master/tree/ looks outdated so application have wrong orientation.
Attached Images
 
 

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