qt - qDebug() output is not visible on a terminal -


i use ubuntu 12.04 lts. when run console application using qt creator output of qdebug() not visible on terminal (i empty terminal cursor). how fix ?

edit1 can't stop program using stop button, have use force quit option.

edit2 here code:

#include <qcoreapplication> #include <qdebug>  int main(int argc, char *argv[]) {    qcoreapplication a(argc, argv);    qdebug()<<"ok";    return a.exec(); } 

edit3 solution: qt creator: run in terminal


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -