You can propagate C++ knowledge to QML, Antoine

For example setContextProperty #ifdef QT_QML_DEBUG

Best regards,
Artem.



On Sun, Jan 12, 2014 at 1:41 PM, Antoine Reversat <a.rever...@gmail.com>wrote:

> Hi,
>
> I was wondering if there is a way to know if we're in debug mode or
> running in the emulator in QML (something like the #ifdef QT_QML_DEBUG in
> c++). I'd like to be able to act differently whether the app is running on
> a real device or not.
>
> Antoine
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>



-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to