Qt::AA_EnableHighDpiScaling is by default in qt6

This commit is contained in:
Laurent Montel
2023-07-12 18:50:27 +02:00
parent 99614d1b27
commit bf1614256b

View File

@@ -129,7 +129,9 @@ Q_DECL_EXPORT
#endif
int main(int argc, char *argv[])
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QNetworkProxyFactory::setUseSystemConfiguration(true);