Hi I'm brand new to Qt, hence the forum, and having troubles running a tester hello world program.
I used create project - console project.
#include <QtCore/QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
qDebug() << "Hello World";
return a.exec();
}
#include <QtCore/QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
qDebug() << "Hello World";
return a.exec();
}
To copy to clipboard, switch view to plain text mode
This builds ok and runs with no errors but the terminal doesn't output any text.
When I tried not outputting to console it outputted into the application output window fine.
I'm not sure what to check next, any help is much appreciated.
I'm on UBUNTU 12.04
Bookmarks