Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 827 Bytes

README.md

File metadata and controls

54 lines (38 loc) · 827 Bytes

User Controls

This folder contains user controls examples

  • Line shows how to create a custom widget line with QFrame.

Generate and build

Qt Creator

To build these projects, open UserControls.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 ./UserControls.sln

macOS :

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

Linux with Code::Blocks :

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

Linux :

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