[SailfishDevel] Removing libcontextkit-statefs-qt5.so from allowed libraries
Pekka Vuorela
pekka.vuorela at jolla.com
Thu May 14 07:14:47 UTC 2020
On Thu, 2020-05-14 at 09:03 +0200, Thomas Tanghus wrote:
> On Thursday, 14 May 2020 08.37 Pekka Vuorela wrote:
> > Alternative is to switch to other methods, e.g. dbus-send or more
> > specific command line tools. Mcetool for example can tell the
> > battery
> > state among other things.
>
> Just to be sure: The QML ContextProperty will not go away?
>
> I use something like this in my apps:
>
> QtObject {
> property bool isOnline: state.value === 'connected'
> property ContextProperty state: ContextProperty {
> // `cat /run/state/namespaces/Internet/NetworkState`
> key: 'Internet.NetworkState'
> }
> }
Yep, no changes there.
More information about the Devel
mailing list