summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/mediaplayer
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-07-08 17:04:00 +0200
committerKai Köhne <kai.koehne@qt.io>2021-08-12 07:48:58 +0200
commit2b206cf3695afe17fb364120ae89587185d16294 (patch)
tree992d0e7408dd28b67700576f2cb3103a3bd68b98 /examples/multimedia/video/mediaplayer
parent32aecf9f4115f514746ad99ab069a019c9adf2da (diff)
Remove QT_VERSION_CHECK from examples
We can always assume that the example is built with at least the current Qt version it is shipped with. Everything else is not supported. Pick-to: 6.2 Change-Id: I1cd58c976f6916de7bc4465741f2820c30d73b33 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/video/mediaplayer')
-rw-r--r--examples/multimedia/video/mediaplayer/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/multimedia/video/mediaplayer/main.cpp b/examples/multimedia/video/mediaplayer/main.cpp
index 413433dd3..e1c2f513e 100644
--- a/examples/multimedia/video/mediaplayer/main.cpp
+++ b/examples/multimedia/video/mediaplayer/main.cpp
@@ -54,10 +54,6 @@
int main(int argc, char *argv[])
{
-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
-#endif
-
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
@@ -69,6 +65,5 @@ int main(int argc, char *argv[])
}, Qt::QueuedConnection);
engine.load(url);
-
return app.exec();
}