How to return terminal screen after application quit?
-
wrote on 21 Oct 2019, 06:52 last edited by Vladimir Sazonov
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?
-
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?
wrote on 21 Oct 2019, 11:51 last edited by@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?
-
wrote on 22 Oct 2019, 04:23 last edited byThis post is deleted!
-
@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?
wrote on 22 Oct 2019, 04:46 last edited by@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();
}
-
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?
wrote on 22 Oct 2019, 13:36 last edited by@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? -
@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?wrote on 22 Oct 2019, 15:09 last edited by@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
-
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?
wrote on 1 Nov 2019, 04:53 last edited byjust press Ctrl+Alt+F7 from keyboard