slint/examples/qt_viewer
Simon Hausmann 45aa93f1b1 Make it possible to use the C++ build with Qt 6
Since we require Qt 5.15, we can use the versionless CMake targets and also
find Qt 6 first.
2021-09-20 17:02:35 +02:00
..
CMakeLists.txt Make it possible to use the C++ build with Qt 6 2021-09-20 17:02:35 +02:00
interface.ui Add a qt_viewer example that uses QWidget 2021-03-23 17:13:41 +01:00
qt_viewer.cpp Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
README.md Janitor: Fix warnings about markdown files 2021-06-28 08:32:25 +02:00

qt_viewer

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

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