Please excuse me guys for being such a newbie. Coming from BB10 where many 
details are different, I have a lot of problems with even the most basic stuff 
on Sailfish :(

I have a Q_INVOKABLE - let's say something like:

QInt DoSomeMath() {

// does some calulation

return result;

}

and I need to call it from QML, e.g. like this:

myQmlProperty = _myapp.DoSomeMath()

I've got everything working, except for how (and where) to setContextProperty 
(_myapp) so that I can call it from QML...

Can you please help?  That's ALL left to make my project complete.

Once again, thank you very much!
Bolek
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to