1

I use UBuntu 12.04 LTS. When I run a console application using Qt Creator an output of qDebug() is not visible on a terminal (I get only an empty terminal with a cursor). How to fix that ?

Edit1 Moreover I can't stop a program using a stop button, I have to use a Force Quit option.

Edit2 Here is the 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

Community
  • 1
  • 1
Irbis
  • 11,537
  • 6
  • 39
  • 68

0 Answers0