Beispiel #1
0
int main(int argc, char *argv[]) {
	QApplication a(argc, argv);
	RobotController w;
	w.show();
	a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
	return a.exec();
}
Beispiel #2
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    RobotController w;
    w.show();

    return a.exec();
}