ich habe mal eine generelle Frage zu einem Konsolenproggramm. Ich programmiere das Programm unter Linux.
Code: Alles auswählen
#include <QtCore/QCoreApplication>
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
QCoreApplication a(argc, argv);
cout << "hallo";
return a.exec();
}
Es bleibt nach der Textausgabe einfach stehen und dann wird ncihts mehr gemacht.
Was mache ich denn da falsch?