Skip to content

Files

Latest commit

9dedab1 · Jan 14, 2024

History

History

UserControls

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 14, 2024
Jan 14, 2024
Jan 12, 2024
Jan 12, 2024

README.md

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