[SOLVED] How to use QML to test which OS/platform the app is running on?
-
wrote on 20 Mar 2014, 03:07 last edited by
I want to specify different parameters on different platforms.
-
Hi,
Use Qt.platform.os
-
wrote on 22 Sept 2014, 17:15 last edited by
Quick question: Is this documented anywhere (couldn't find it anywhere)? I'm just concerned that if I use this in my application and deploy it, the behavior might change in the future releases.
-
wrote on 22 Sept 2014, 17:40 last edited by
"Here":http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#platform-prop is a doc.
-
wrote on 22 Sept 2014, 18:19 last edited by
Awesome. Thanks. Must have missed it.