I'm using QtCreator to design and deploy Android applications.
When debugging the application, when I invoke some Java SDK code, if this one calls System.out.println
, I see the message in QtCreator console.
Now, from C++/Qt code, I could not find out how to show a message in QtCreator console.
Based on this post and this one, I tried:
qDebug() << "Hello there";
qDebug( "Hello you" );
std::cout << "Hi guy" << std::endl;
std::cerr << "Hi guy 2" << std::endl;
With and without CONFIG += console
being set, none of the messages above are visible in QtCreator console ('Application output').
Does anyone know how where a message has to be sent in order to have it be visible in QtCreator console while debugging an Android application?
Edit 22/05/2015: Created bug report https://bugreports.qt.io/browse/QTCREATORBUG-14498