 What's the problem with QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); ?