4K屏QT布局失调问题 if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) { QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); }