diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-30 14:49:08 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-30 17:35:55 +0100 |
commit | a223a1434e4dd06581650f53631b84ed169e7dcc (patch) | |
tree | 3728261b3e66e886e878bb86a795f5b32fae0ec9 | |
parent | c3ca73187ea8832428642b3d98bcc52206c5195a (diff) |
Update dependencies
Fix further deprecation warnings about Qt::AA_EnableHighDpiScaling.
Change-Id: I145c41b0b009040059de8a39133edb3434059c72
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r-- | dependencies.yaml | 2 | ||||
-rw-r--r-- | examples/activeqt/comapp/main.cpp | 1 | ||||
-rw-r--r-- | examples/activeqt/mediaplayer/main.cpp | 1 | ||||
-rw-r--r-- | examples/activeqt/opengl/main.cpp | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/dependencies.yaml b/dependencies.yaml index c679587..19b4328 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -1,4 +1,4 @@ dependencies: ../qtbase: - ref: 2d0a5f7a014d1b84d5701d835aa28f1a047fbff5 + ref: 4c36d64bb3a4425848de3f134a8caca3e8d20fe3 required: true 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) { |