We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2016-01-18 21:27:31 +0200 |
Hi to all.
Someone know how to start QML file from CLI or from .desktop file ?
From googling I found that somehow can be started by sailfish-qml (needed package libsailfishapp-launcher)
But when I tried I got weird output:
[nemo@Jolla Vault]$ sailfish-qml /usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:230 - Specified Desktop file does not exist "/usr/share/applications//usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml.desktop"
[W] unknown:-1 - file:///usr/share/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml/qml/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml.qml: File not found
For example I want to directly open "Backup" from Settings app (/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml)
Any ideas ?
Thanks
Hi to all.
Someone know how to start QML file from CLI or from .desktop file ?
From googling I found that somehow can be started by sailfish-qml (needed package libsailfishapp-launcher)
But when I tried I got weird output:
[nemo@Jolla Vault]$ sailfish-qml /usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] MDesktopEntryPrivate::MDesktopEntryPrivate:230 - Specified Desktop file does not exist "/usr/share/applications//usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml.desktop"
[W] unknown:-1 - file:///usr/share/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml/qml/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml.qml: File not found
For example I want to directly open "Backup" from Settings app (/usr/lib/qt5/qml/Sailfish/Vault/MainPage.qml)
Any ideas ?
Thanks