slint/examples/cpp/qt_viewer
2024-12-19 15:26:29 +01: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 [autofix.ci] apply automated fixes 2024-12-19 15:26:29 +01: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.