Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 969 Bytes

README.md

File metadata and controls

56 lines (40 loc) · 969 Bytes

Containers

This folder contains containers examples.

  • Frame shows how to create a frame with QFrame.
  • GroupBox shows how to create a group box with QGroupBox.
  • TabWidget shows how to create a tab widget with QTabWidget.

Generate and build

Qt Creator

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

macOS :

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

Linux with Code::Blocks :

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

Linux :

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