slint/examples/qt_viewer
2021-05-21 07:54:31 +02:00
..
CMakeLists.txt Only compile the qt_viewer example if Qt >= 5.15 2021-05-21 07:54:31 +02:00
interface.ui Add a qt_viewer example that uses QWidget 2021-03-23 17:13:41 +01:00
qt_viewer.cpp Allow the qt_viewer to compile if cmake finds qt, but not qttypes 2021-05-21 07:45:38 +02: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.