Shows how to use Qt widgets only by programming code (c++17).
shows how to use Qt widgets only by programming code (c++17).
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