Qt 6.11 is out! See what's new in the release
blog
[SOLVED] How to use QML to test which OS/platform the app is running on?
QML and Qt Quick
5
Posts
4
Posters
3.5k
Views
1
Watching
-
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.