In low resolution on the machine, display is normal, but the high resolution, hope that the visual effect of font, that is to say, in the resolution of 1000 * 500 to 2000 * 1000 resolution, and word of pixels multiplied, what should I do? Set the environment variable, QGuiApplication: : setAttribute (Qt: : AA_EnableHighDpiScaling); What is useless,
CodePudding user response:
I, too, set up also useless!
CodePudding user response:
QGuiApplication: : setAttribute (Qt: : AA_EnableHighDpiScaling) this code should be put in the main function of the first row,