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.
Code:
connect(ui
->actionExit,
SIGNAL(triggered
(bool)),
QApplication::instance(),
SLOT(quit
()));
What is proper way of quitting Qt application back into terminal?
Re: Properly quitting Qt application running only in the framebuffer?
That looks correct.
Does your main() exit when QApplication::exec() returns?
Cheers,
_