I am trying to do something like this:
QString string;
// do things...
std::cout << string << std::endl;
but the code doesn't compile.
How to output the content of qstring into the console (e.g. for debugging …
I'm using Qt4 and C++ for making some programs in computer graphics. I need to be able to print some variables in my console at run-time, not debugging, but cout doesn't seem to work even if I add the libraries. …