Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi all,
Desktop GUI application implemented in QML. But system tray implemented with QtSystemTrayIcon. How to launch QML form from tray menu item?
Thanks
Hi,
How do you launch the QML file currently ?
main.qml launches from main.cpp :
QApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:///main.qml")));
How to launch qml scene from tray menu item(QSystemTaryIcon's menu item).
The only way I could think of is connecting the triggered() signal to a slot where you would then load the QML.