making rotated screen work

This commit is contained in:
talksik
2024-02-12 09:01:47 -08:00
parent a88e98f23e
commit 0d9da9bb70
2 changed files with 28 additions and 9 deletions
+4
View File
@@ -1,5 +1,6 @@
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QCursor>
int main(int argc, char *argv[])
{
@@ -7,6 +8,9 @@ int main(int argc, char *argv[])
QGuiApplication app(argc, argv);
const QCursor cursor(Qt::BlankCursor);
app.setOverrideCursor(cursor);
QQmlApplicationEngine engine;
const QUrl url(u"qrc:/testqtonrpi/Main.qml"_qs);
QObject::connect(