qt-material3-widget

Material 3 widget toolkit for Qt Widgets.

This documentation is split into two complementary parts:

  • narrative guides for users and contributors

  • generated C++ API reference for the public headers

Use the narrative pages to understand concepts, layering, and supported workflows. Use the API reference when you need exact class and member names.

Start here

For application developers

For contributors

Installation and downstream usage

The project exports a CMake package named QtMaterial3Widgets.

find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Gui Widgets)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Gui Widgets)
find_package(QtMaterial3Widgets REQUIRED)

add_executable(my-app main.cpp)
target_link_libraries(my-app
  PRIVATE
    Qt${QT_VERSION_MAJOR}::Core
    Qt${QT_VERSION_MAJOR}::Gui
    Qt${QT_VERSION_MAJOR}::Widgets
    QtMaterial3::Theme
    QtMaterial3::Widgets
)

Documentation structure

Material 3 note

This project follows Material 3 guidance, but the upstream Material 3 site remains the source for design-system semantics and visual rationale. The pages in this repository describe how those ideas are mapped into the Qt Widgets implementation.