Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Obsolete Members for Screen

The following members of QML type Screen are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Attached Properties

Attached Property Documentation

[read-only] Screen.logicalPixelDensity : real

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 QML property was introduced in Qt 5.1.

See also pixelDensity.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded