slint/examples/qt_viewer
Olivier Goffart 590ef33018 Fix crash in qt_viewer at exit
Destroy the slint instance before destroying the main QWidget

Workaround #1222
2022-05-03 11:47:35 +02:00
..
CMakeLists.txt Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
interface.ui Replace SixtyFPS in many locations (Uppercase) 2022-02-02 15:49:18 +01:00
qt_viewer.cpp Fix crash in qt_viewer at exit 2022-05-03 11:47:35 +02:00
README.md Rename rust API 2022-02-02 13:26:35 +01: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.