Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to return terminal screen after application quit?
Forum Updated to NodeBB v4.3 + New Features

How to return terminal screen after application quit?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 733 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vladimir Sazonov
    wrote on 21 Oct 2019, 06:52 last edited by Vladimir Sazonov
    #1

    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?

    P M 3 Replies Last reply 21 Oct 2019, 11:51
    0
    • V Vladimir Sazonov
      21 Oct 2019, 06:52

      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?

      P Offline
      P Offline
      Pablo J. Rogina
      wrote on 21 Oct 2019, 11:51 last edited by
      #2

      @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?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      V 1 Reply Last reply 22 Oct 2019, 04:46
      1
      • V Offline
        V Offline
        Vladimir Sazonov
        wrote on 22 Oct 2019, 04:23 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • P Pablo J. Rogina
          21 Oct 2019, 11:51

          @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?

          V Offline
          V Offline
          Vladimir Sazonov
          wrote on 22 Oct 2019, 04:46 last edited by
          #4

          @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();
          

          }

          1 Reply Last reply
          0
          • V Vladimir Sazonov
            21 Oct 2019, 06:52

            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?

            P Offline
            P Offline
            Pablo J. Rogina
            wrote on 22 Oct 2019, 13:36 last edited by
            #5

            @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?

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            V 1 Reply Last reply 22 Oct 2019, 15:09
            0
            • P Pablo J. Rogina
              22 Oct 2019, 13:36

              @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?

              V Offline
              V Offline
              Vladimir Sazonov
              wrote on 22 Oct 2019, 15:09 last edited by
              #6

              @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

              1 Reply Last reply
              0
              • V Vladimir Sazonov
                21 Oct 2019, 06:52

                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?

                M Offline
                M Offline
                Mijaz
                wrote on 1 Nov 2019, 04:53 last edited by
                #7

                @Vladimir-Sazonov

                just press Ctrl+Alt+F7 from keyboard

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved