aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 10:34:53 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 12:44:59 +0200
commita15840a8dfcd0baf0965422f9cb3eca14cc99cf9 (patch)
treef75abb5e8afbefb373d300808e5244f080132ceb /tools/qmllint
parent0b92a93e8e165520b12cb8ca1d0a8812ed6e046b (diff)
Fix additional warnings from usage of deprecated APIs
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ø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tools/qmllint')
-rw-r--r--tools/qmllint/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp
index 8ee1d77c31..f0ea68662e 100644
--- a/tools/qmllint/main.cpp
+++ b/tools/qmllint/main.cpp
@@ -155,7 +155,7 @@ int main(int argv, char *argc[])
QStringList qmltypeDirs = parser.isSet(qmltypesDirsOption)
? parser.values(qmltypesDirsOption)
# ifndef QT_BOOTSTRAPPED
- : QStringList { QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath) };
+ : QStringList { QLibraryInfo::path(QLibraryInfo::Qml2ImportsPath) };
# else
: QStringList {};
# endif