Hmm, I think you're right. I never thought it wouldn't work because I've been able to return the value on web projects for example.
I tried this on my MainPage.qml:
@Component.onCompleted: console.log(Database._Load_ColorTheme())@
And guess what... It gives me 'undefined'!
So how I'm supposed to do this then? I got an idea, that I could use 'Label' or 'Text' components, and load the new color from a 'text' variable.
But after all, this should work like a Javascript in any other situation, right .. ? So what's going wrong here?