mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-18 08:22:33 +02:00
Remove Qt Windows HighDPI Scaling because of buggy monitor width and height values QTBUG-81694
This commit is contained in:
parent
37d021c078
commit
f3f3f8b93e
@ -4,7 +4,13 @@
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
// Buggy with every Qt version except 5.14.0!
|
||||
// Displays wrong DPI scaled monitor resolution
|
||||
// 4k with 150% scaling to FULL HD on Windows
|
||||
// https://bugreports.qt.io/browse/QTBUG-81694
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_OSX)
|
||||
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#endif
|
||||
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
||||
|
||||
QApplication qtGuiApp(argc, argv);
|
||||
|
Loading…
Reference in New Issue
Block a user