Below a very simple code. Which should bring first run, then pony. But the output only the first word.
#include #include int main(int argc, char *argv[]) { qDebug() << "run"; QCoreApplication a(argc, argv); qDebug() << "pony"; return a.exec(); }
And generally after the line QCoreApplication a(argc, argv) doesn't work not only for the QDebug in my case also QTCPServer does not start.
Pro file. Interestingly, on the stationary computer, this same code worked fine. And that I do everything on my laptop c Lubuntu. At the country decided to finish the job) And previously was the new qt from the official website. Already completely deleted it and put version 5.9.1 packet Manager.
QT += core CONFIG += c++11 CONFIG += console CONFIG += app_bundle TEMPLATE = app SOURCES += main.cpp
Seems the problem is specific, in Google not found the answer. Maybe the problem with my hardware, I hope it is not.