Unsolved How to return terminal screen after application quit?
-
I launch my application from getty screen with option -platform eglfs. But when I do quit, application terminate and screen steel black. I do not see terminal screen, but it continue то work and react to keyboard. What I must to do for return terminal screen after quit?
-
@Vladimir-Sazonov said in How to return terminal screen after application quit?:
What I must to do for return terminal screen after quit?
Could you please share your code? How are you quitting your application?
-
This post is deleted! -
@Pablo-J-Rogina said in How to return terminal screen after application quit?:
@Vladimir-Sazonov said in How to return terminal screen after application quit?:
What I must to do for return terminal screen after quit?
Could you please share your code? How are you quitting your application?
I have a connection on qml side.
Keys.escapePressed.connect(Qt.quit)
And I simply press escape for quit application.
Main looks standard:
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); if (engine.rootObjects().isEmpty()) return -1; return app.exec();
}
-
@Vladimir-Sazonov said in How to return terminal screen after application quit?:
I launch my application from getty screen with option -platform eglfs
Is that terminal a SSH session you connect to the device?
or is just a terminal application running from the device itself? -
@Pablo-J-Rogina said in How to return terminal screen after application quit?:
@Vladimir-Sazonov said in How to return terminal screen after application quit?:
I launch my application from getty screen with option -platform eglfs
Is that terminal a SSH session you connect to the device?
or is just a terminal application running from the device itself?It is getty, that starts when I boot as multi-user.target
-
just press Ctrl+Alt+F7 from keyboard