Rikonator
17th August 2011, 11:26
The application I am working on has a ton of runtime errors/bugs. To remove the errors, and make sure everything is working I added a qDebug() in every significant function.
For example, to follow my signal-slot connections and see if they're working properly.
But I'm not getting any command line output when I run my application. Even for things which I know have happened. For instance, I put qDebug() in the MainWindow's constructor and got no output.
Something like
MainWindow::MainWindow()
{
...
qDebug()<<"MainWindow constructed.";
...
}
I have included QDebug, and I've re-checked that I'm using the correct syntax. I'm not sure what I'm doing wrong.
Help is greatly appreciated.
For example, to follow my signal-slot connections and see if they're working properly.
But I'm not getting any command line output when I run my application. Even for things which I know have happened. For instance, I put qDebug() in the MainWindow's constructor and got no output.
Something like
MainWindow::MainWindow()
{
...
qDebug()<<"MainWindow constructed.";
...
}
I have included QDebug, and I've re-checked that I'm using the correct syntax. I'm not sure what I'm doing wrong.
Help is greatly appreciated.