Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 858 Bytes

README.md

File metadata and controls

54 lines (38 loc) · 858 Bytes

HelloWorlds

Contains Qt.Core "Hello, World!" examples.

  • HelloWorldConsole The classic first application "Hello, world!" with QTextStream stream.

Generate and build

Qt Creator

To build these projects, open HelloWorlds.pro file with Qt Creator.

CMake

To build this project, open "Terminal" and type following lines:

Set CMAKE_PREFIX_PATH with Qt6 install path.

Windows :

mkdir build
cd build
cmake ..
start ./HelloWorlds.sln

macOS :

mkdir build
cd build
cmake .. -G "Xcode"
open ./HelloWorlds.xcodeproj

Linux with Code::Blocks :

mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./HelloWorlds.cbp > /dev/null 2>&1

Linux :

mkdir build
cd build
cmake .. 
cmake --build . --config Debug
./AnyProject