Hello,
I usually run Qt in Windows.
I created a Qt Console Application in Ubunti with the following code:
#include <QtCore/QCoreApplication>
#include <QtDebug>
int main(int argc, char *argv[])
{
qDebug()<<"Hello World\n";
return a.exec();
}
#include <QtCore/QCoreApplication>
#include <QtDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug()<<"Hello World\n";
return a.exec();
}
To copy to clipboard, switch view to plain text mode
unfortunately it displays nothing at all, like it does in Windows.
There is a config += console in the project file.
What did I do wrong?
Bookmarks