Contains console examples.
- Console shows how to use QTextStream stream with stdin and stdout.
- ConsoleColor shows how to use QTextStream stream with stdout and ANSI colors.
To build these projects, open Console.pro file with Qt Creator.
To build this project, open "Terminal" and type following lines:
Set CMAKE_PREFIX_PATH with Qt6 install path.
mkdir build
cd build
cmake ..
start ./Console.slnmkdir build
cd build
cmake .. -G "Xcode"
open ./Console.xcodeprojmkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Console.cbp > /dev/null 2>&1mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject