[vlc-devel] [PATCH 1/3] Qt: Enable scaling for Qt>=5.6.
Anatoliy Anischovich
lin.aaa.lin at gmail.com
Sat Jul 30 15:38:33 CEST 2016
---
modules/gui/qt/qt.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 317b82c..60d7860 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -478,6 +478,10 @@ static void *Thread( void *obj )
Q_INIT_RESOURCE( vlc );
+#ifdef HAS_QT56
+ QApplication::setAttribute( Qt::AA_EnableHighDpiScaling );
+#endif
+
/* Start the QApplication here */
QVLCApp app( argc, argv );
--
2.7.3
More information about the vlc-devel
mailing list