[SOLVED] How to use QML to test which OS/platform the app is running on?
-
I want to specify different parameters on different platforms.
-
Hi,
Use Qt.platform.os
-
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.
-
"Here":http://qt-project.org/doc/qt-5/qml-qtqml-qt.html#platform-prop is a doc.
-
Awesome. Thanks. Must have missed it.