Commit 5cfe5ef0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It's enable by default in qt6

parent 99bf81da
Pipeline #183492 passed with stage
in 14 minutes and 9 seconds
......@@ -67,8 +67,10 @@ int main(int argc, char *argv[])
#ifdef CRASH_AUTO_TEST
Logger::init();
#endif
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
// TODO: is it a good option ?
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment