From a15840a8dfcd0baf0965422f9cb3eca14cc99cf9 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 16 Sep 2020 10:34:53 +0200 Subject: Fix additional warnings from usage of deprecated APIs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace QLibaryInfo::location with QLibraryInfo::path, and remove usage of Qt::AA_EnableHighDpiScaling, which doesn't have any effect anymore. Change-Id: I347e8a83e0f4c2b4405f2512e569ad3234f05a98 Reviewed-by: Tor Arne Vestbø --- examples/quick/shared/shared.h | 1 - 1 file changed, 1 deletion(-) (limited to 'examples/quick') diff --git a/examples/quick/shared/shared.h b/examples/quick/shared/shared.h index 18e7ff056b..a6a468ddcb 100644 --- a/examples/quick/shared/shared.h +++ b/examples/quick/shared/shared.h @@ -54,7 +54,6 @@ #include //Not using QQmlApplicationEngine because many examples don't have a Window{} #define DECLARATIVE_EXAMPLE_MAIN(NAME) int main(int argc, char* argv[]) \ {\ - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);\ QGuiApplication app(argc,argv);\ app.setOrganizationName("QtProject");\ app.setOrganizationDomain("qt-project.org");\ -- cgit v1.2.3