Results 1 to 2 of 2

Thread: Properly quitting Qt application running only in the framebuffer?

  1. #1
    Join Date
    Apr 2016
    Posts
    5
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Properly quitting Qt application running only in the framebuffer?

    What is proper way of quitting Qt application while running in the framebuffer only Linux setup?

    I am using one of Zynq boards and using Qt for GUI app to configure the programmable logic on Zynq. However, when I try to quit application, my application just freazes and I can't access terminal (tty) or mouse and keyboard inputs. I am guessing it stops refreshing frame-buffer, but does not clears it.

    Qt Code:
    1. connect(ui->actionExit, SIGNAL(triggered(bool)), QApplication::instance(), SLOT(quit()));
    To copy to clipboard, switch view to plain text mode 

    What is proper way of quitting Qt application back into terminal?
    Last edited by adzh; 14th July 2016 at 17:58.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,403
    Thanks
    37
    Thanked 1,543 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Properly quitting Qt application running only in the framebuffer?

    That looks correct.

    Does your main() exit when QApplication::exec() returns?

    Cheers,
    _

Similar Threads

  1. Replies: 0
    Last Post: 11th February 2013, 08:55
  2. Replies: 4
    Last Post: 19th November 2012, 14:35
  3. Replies: 3
    Last Post: 7th August 2010, 15:12
  4. Http example of Qt not running properly
    By thanisha in forum Newbie
    Replies: 2
    Last Post: 24th June 2010, 12:06
  5. Framebuffer and simple launcher of application
    By damien in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 6th February 2009, 21:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.