Answer the question
In order to leave comments, you need to log in
QCoreApplication: why doesn't QDebug output work?
Below is a very simple code. Which should output first run, then pony. But only the first word is output.
#include <QCoreApplication>
#include <QDebug>
int main(int argc, char *argv[])
{
qDebug() << "run";
QCoreApplication a(argc, argv);
qDebug() << "pony";
return a.exec();
}
QT += core
CONFIG += c++11
CONFIG += console
CONFIG += app_bundle
TEMPLATE = app
SOURCES += main.cpp
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question