How get the physical dimensions of the device?
Unsolved
Mobile and Embedded
-
Have you tried to get dpi for the device first :
physicalDotsPerInchX : const qreal
physicalDotsPerInchY : const qrealalso you may compare or get the dpi of with the QWidget (if you use one)
int QPaintDevice::physicalDpiX() const
int QPaintDevice::physicalDpiY() constand multiply by the width/height of the device, widget or an item. If you want the size in metric/imperial you need to convert the values.