On 25/09/15 21:19, Julius Bullinger wrote:
Dear List,
is there any clear and concise How To for High DPI icons/pixmaps? I
gathered some information from several Wiki pages, Blog posts and
documentation pages [1-7], but no luck.
Your code looks ok. You didn't say what the problem was?
QPixmap pixmap2x(":/icons/48x48/i...@2x.png");
pixmap2x.setDevicePixelRatio(2);
You don't need to set the DPR manually, QPixmap will set it when it sees
the @2x in the filename.
Hamish
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest