Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 888 Bytes

README.md

File metadata and controls

55 lines (39 loc) · 888 Bytes

Components

THis folder contains components examples.

  • Cursors shows how to associate cursor to widget with QCursor.
  • Timer shows how to create a Timer with QTimer.

Generate and build

Qt Creator

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

macOS :

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

Linux with Code::Blocks :

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

Linux :

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