slint/examples/cpp/qt_viewer
2024-10-10 13:08:36 +00:00
..
CMakeLists.txt Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
interface.ui Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
qt_viewer.cpp Add the ability to read/write boolean properties in the qt_viewer example 2024-10-10 13:08:36 +00:00
README.md xtask: Fix up license headers 2023-08-17 08:55:28 +02:00

qt_viewer

This is an example that shows how to embed a dynamically loaded .slint into a Qt (QWidgets) application

The trick is that it uses the C++ slint::interpreter::ComponentInstance::qwidget and embed that widget in a Qt application.