You should use qDebug if it is for debugging. Simply include QtDebug and do something like this: .
If you are using the Windows version of Qt you might want to add a line to the pro-file of you project.
Without this one, you will not see anything.
Bookmarks