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?

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to