summaryrefslogtreecommitdiff
path: root/src/plugins/qnx
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-06-11 19:40:11 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-06-13 23:07:35 +0000
commit885cd63e8f8fa11b4f97cd45c32af2b2b9f7e6ce (patch)
tree3cf83ffefe4b02c54553d18aa15ff9d9b34992ac /src/plugins/qnx
parentdb7aa20d12faf01651b6f9adc353df2368531ee1 (diff)
downloadqt-creator-885cd63e8f8fa11b4f97cd45c32af2b2b9f7e6ce.tar.gz
Port from QLatin1Literal to QLatin1String
QLatin1Literal is an undocumented and deprecated typedef for QLatin1String, just use the original. Change-Id: I42347a2128e7b4280aaafeea5ebdee5a1b623c82 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qnx')
-rw-r--r--src/plugins/qnx/qnxtoolchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qnx/qnxtoolchain.cpp b/src/plugins/qnx/qnxtoolchain.cpp
index 376ae63711..0a515287ea 100644
--- a/src/plugins/qnx/qnxtoolchain.cpp
+++ b/src/plugins/qnx/qnxtoolchain.cpp
@@ -52,7 +52,7 @@ static Abis detectTargetAbis(const FilePath &sdpPath)
if (!sdpPath.fileName().isEmpty()) {
QList<Utils::EnvironmentItem> environment = QnxUtils::qnxEnvironment(sdpPath.toString());
foreach (const Utils::EnvironmentItem &item, environment) {
- if (item.name == QLatin1Literal("QNX_TARGET"))
+ if (item.name == QLatin1String("QNX_TARGET"))
qnxTarget = FilePath::fromString(item.value);
}
}