Qt 6.11 is out! See what's new in the release
blog
cout in qtcreator
-
how to get cout <<"test"<<endl working in qtcreator? I know I can use qdebug, but I couldn't never get the qdebug work in Linux terminal except cout.
-
how to get cout <<"test"<<endl working in qtcreator? I know I can use qdebug, but I couldn't never get the qdebug work in Linux terminal except cout.
-
how to get cout <<"test"<<endl working in qtcreator? I know I can use qdebug, but I couldn't never get the qdebug work in Linux terminal except cout.
The Qt way of doing this is:
QTextStream out(stdout); out << "something";However you should also be able to use the standard means (i.e.
cout). -
and of course OP needs to reference the std namespace where cout lives.