Quote Originally Posted by peedarp
Thank you Mike and Bojan,

I forgot to say my version, I am using 3.3.4 there is no qdebug class.

and I am working in Linux server, the above methods are not working for me.
the qDebug is present in 3.3.4
the std::cout is widely used on crossplatforms. So it is not platform related. Just if u use cout, try to put 'using namespace std' after the declarations...or the problem is other?