gsettings-qt problem
Damian Ivanov
damianatorrpm at gmail.com
Thu Nov 14 16:14:54 UTC 2013
Hi,
I have a problem using the gsettings-qt binding:
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?
More information about the Ubuntu-devel-discuss
mailing list