Commit 3b9a6977 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

IT's enabled by default in qt6

parent ad0fe563
Pipeline #113452 passed with stage
in 50 seconds
......@@ -31,7 +31,9 @@ int main(int argc, char * argv[])
{
// init random generator
qsrand(time(nullptr));
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
......
Markdown is supported
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