slint/examples/cpp/qt_viewer
Tobias Hunger 0139eea4f9 xtask: Fix up license headers
* Keep project related .md files triple licensed as the rest of the
  crate
* Make vtable MIT OR Apache 2.0 (as suggested by @ogoffart)
2023-08-17 08:55:28 +02: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 Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02: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.