slint/examples/qt_viewer
2021-03-24 09:38:58 +01:00
..
CMakeLists.txt Add a qt_viewer example that uses QWidget 2021-03-23 17:13:41 +01:00
interface.ui Add a qt_viewer example that uses QWidget 2021-03-23 17:13:41 +01:00
qt_viewer.cpp Make it possible to load .60 files from the command line in the qt_viewer 2021-03-24 09:38:58 +01:00
README.md Add a qt_viewer example that uses QWidget 2021-03-23 17:13:41 +01: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.