Talk:Getting Started on the Commandline

From Qt Wiki
Revision as of 13:59, 11 March 2023 by Pfyer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://stackoverflow.com/questions/17382047/qt-printing-to-terminal

for console to actually output anything

after running qmake add to the .pro file

CONFIG += console

---

I had to use `Qt::endl` instead of `endl` in Qt 6.2.3.

I didn't need `CONFIG += console` - I think that's Windows only.

It this right? ./hello

Because I think it should be .\hello