I have annoying problem. I created QVBoxLayout on which I added my widgets.
This is sample from my constructor:
layout = new QVBoxLayout;
layout->setMargin(0);
layout->setContentsMargins(QMargins(0,0,0,0));
layout->setSpacing(0);
And then I have function to add widgets.
…
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 …