Look for something called DevicePixelRatio... Also QML Screen attached property/element. It might be a shortcoming in Qt, but you should be able to work around it.
Sent: Friday, January 22, 2016 at 8:57 AM
From: "Edward Sutton" <edward.sut...@subsite.com>
To: "Qt Interest" <interest@qt-project.org>
Subject: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?
From: "Edward Sutton" <edward.sut...@subsite.com>
To: "Qt Interest" <interest@qt-project.org>
Subject: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?
- I have a QTableWidget.
- In the name column zero I have cell widget consisting of a QCommandLinkButton
- I added a horizontal layout to QCommandLinkButton containing 3 QLabels, 2 with text, and the middle label contains a pixmap.
Problem:
1 - When QWidget app runs on external HD display all is good. See screenshot below.
2 - When the same QWidget app is executed on the MacBook’s internal retina display, the pixmaps are zoomed in about 4X.
Suggestions are appreciated.
( I wish I had been paying attention to the high DPI discussions now. )
-Ed
Screenshot 1 - HD display all is good.
Screenshot 2 - After redraw on retina pixmaps are zoomed in about 4X?
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest