slint/examples/cpp/qt_viewer
Olivier Goffart a34074db11 Move the C++ specific example to the examples/cpp directory
The platform ones are not experimental so move out of tests
2023-07-31 12:58:38 +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 Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +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.