Hi,
If you want to use cout to print, I have attached two files to this email...qstd.cpp and qstd.h. To use the standard cout syntax include these files in your project and add the namespace using command - using namespace qstd - to any scope in which you want to use cout (and include the "qstd.h" header file of course).
I did not write these files myself, but stumbled upon them somewhere on the web while trying to solve a problem similiar to yours when I first started with Qt. I give full credit, thanks and kudo's to the unamed author....cout has worked flawlessly for me.
Hope this helps....
tim
Bookmarks