The following members of QML type Screen are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
(deprecated)
[read-only, since 5.1] Screen.logicalPixelDensity : real |
This property is deprecated. We strongly advise against using it in new code.
The number of logical pixels per millimeter. This is the effective pixel density provided by the platform to use in image scaling calculations.
Due to inconsistencies in how logical pixel density is handled across the various platforms Qt supports, it is recommended to use physical pixels instead (via the pixelDensity
property) for portability.
This property was introduced in Qt 5.1.
See also pixelDensity.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: