Qt Built Software Device Resolution Inquiry
-
How can we get Qt to scale the software being built accordingly to the respected dpi per display resolution screen (ex from a 1080 to a 4k ), on Windows OS? unsure of where to find the options to be changed on the windows to enable it to scale when being run on different user screen resolutions.
-
Hi and welcome to devnet,
Are you asking for something like a compile time flag ?
-
Hi
Do you mean something like this ?
http://doc.qt.io/qt-5/highdpi.html(if not compile time)
-
@mrjj not exactly. What i'm asking is if there is a way to specify a virtual resolution and virtual dpi so i can see what my application will look like on a 4k screen even though the resolution of my screen is 1080p.
@JVR-Orane
ahh. as far as i know , not really.
You could adjust QT_SCALE_FACTOR , but its not really what you are after.