Hi,
There is a library available that exposes Linux GSettings to qml see:
https://launchpad.net/gsettings-qt
Now I try to use it in my .qml
import QtQuick 2.1
import QtQuick.Controls 1.1
import GSettings 1.0
import QtQuick.Window 2.1
Window {
id:window
GSettings {
id: test
schema.id: "org.test.test" //I created this schema but it
doesn't work with any
onChanged: changes.push([key, value]);
}
color: test.testcolor
}
Whatever I do it says "unable to assign [undefined] to QColor, but if
I try to set the value like from a button test.testcolor = mycolor The
color gets properly set, but reading always returns undefined.
Anyone an idea?
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest