Skip to content
Snippets Groups Projects
Commit f503a305 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Use Hi Dpi scaling under Windows - it works there

parent ea648df6
No related branches found
No related tags found
No related merge requests found
Pipeline #2734 failed
......@@ -73,7 +73,10 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QS
int main(int argc, char *argv[])
{
// QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#if defined (Q_OS_WIN)
// It works under Win
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
// It mutes QML warnings about connections syntax introduced in Qt 5.15
// TODO when Qt version requirements will rise to 5.15 or above, change syntax and remove that
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment