summaryrefslogtreecommitdiffstats
path: root/examples/activeqt
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-30 14:49:08 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-30 17:35:55 +0100
commita223a1434e4dd06581650f53631b84ed169e7dcc (patch)
tree3728261b3e66e886e878bb86a795f5b32fae0ec9 /examples/activeqt
parentc3ca73187ea8832428642b3d98bcc52206c5195a (diff)
Update dependencies
Fix further deprecation warnings about Qt::AA_EnableHighDpiScaling. Change-Id: I145c41b0b009040059de8a39133edb3434059c72 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/activeqt')
-rw-r--r--examples/activeqt/comapp/main.cpp1
-rw-r--r--examples/activeqt/mediaplayer/main.cpp1
-rw-r--r--examples/activeqt/opengl/main.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/activeqt/comapp/main.cpp b/examples/activeqt/comapp/main.cpp
index 8cc34bf..3d98555 100644
--- a/examples/activeqt/comapp/main.cpp
+++ b/examples/activeqt/comapp/main.cpp
@@ -248,7 +248,6 @@ QAXFACTORY_END()
//! [6] //! [7]
int main(int argc, char *argv[])
{
- QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
app.setQuitOnLastWindowClosed(false);
diff --git a/examples/activeqt/mediaplayer/main.cpp b/examples/activeqt/mediaplayer/main.cpp
index 2f84d83..bcca226 100644
--- a/examples/activeqt/mediaplayer/main.cpp
+++ b/examples/activeqt/mediaplayer/main.cpp
@@ -173,7 +173,6 @@ void MainWindow::updateWindowTitle(const QString &state)
int main(int argc, char *argv[])
{
- QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
QCoreApplication::setApplicationVersion(QT_VERSION_STR);
QCoreApplication::setApplicationName(QLatin1String("Active Qt Media Player"));
diff --git a/examples/activeqt/opengl/main.cpp b/examples/activeqt/opengl/main.cpp
index a3de04b..95fccb5 100644
--- a/examples/activeqt/opengl/main.cpp
+++ b/examples/activeqt/opengl/main.cpp
@@ -76,7 +76,6 @@ QAXFACTORY_END()
int main(int argc, char *argv[])
{
- QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication a(argc,argv);
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGL) {