shows how to use Qt widgets only by programming code (c 17).
- HelloWorlds contains Qt.Core "Hello, World!" examples.
- Collections contains collections examples.
- Console contains console examples.
- Strings contains strings examples.
- HelloWorlds contains Qt.Widgets "Hello, world!" examples.
- Applications contains applications examples.
- Dialogs contains dialogs examples.
- Windows contains windows examples.
- MenusAndToolbars contains menus and toolbars examples.
- Containers contains containers examples.
- Controls contains controls examples.
- Components contains components examples.
- UserControls contains user controls examples.
- Others contains others examples.
- HelloWorldsQuick contains Qt.Quick "Hello, world!" examples.
- ControlsQuick contains controls examples.
- HelloWorldsUnitTest contains Qt.Test "Hello, world!" examples.
git clone https://github.com/gammasoft71/Examples_Qt
To build these projects, open Qt.Exmples.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 ./Qt.Exmples.sln
Select any project and type Ctrl F5 to build and run it.
mkdir build
cd build
cmake .. -G "Xcode"
open ./Qt.Exmples.xcodeproj
Select any project and type Cmd R to build and run it.
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./Qt.Exmples.cbp > /dev/null 2>&1
Select any project and type F10 to build and run it.
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject