diff options
author | Christian Stenger <christian.stenger@qt.io> | 2016-11-14 08:09:51 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2016-11-14 10:10:54 +0000 |
commit | b892d82086132f12c0aa432376b696d9616b6cca (patch) | |
tree | ac5a122905b51f8da46a623ce3250cb58136641e /src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp | |
parent | 9389f745ff8697286bb36ff266eecb9df4f4ea5f (diff) | |
download | qt-creator-b892d82086132f12c0aa432376b696d9616b6cca.tar.gz |
QbsProjectManager: Fix compile with gcc 4.8
Change-Id: I3be0349c9af1f8ed51f04c04ce97983409dd7512
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp')
-rw-r--r-- | src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp b/src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp index 4026ba0ca7..0d8796e926 100644 --- a/src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp +++ b/src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp @@ -263,7 +263,7 @@ QVariantMap DefaultPropertyProvider::autoGeneratedProperties(const ProjectExplor && sysrootAbs.startsWith(developerPath)) { if (sysrootAbs.toLower().endsWith(QStringLiteral("/%1.sdk") .arg(canonicalName + version))) - data.insert(QLatin1String(XCODE_SDK), canonicalName + version); + data.insert(QLatin1String(XCODE_SDK), QString(canonicalName + version)); if (sysrootAbs.toLower().endsWith(QStringLiteral("/%1.sdk") .arg(canonicalName))) data.insert(QLatin1String(XCODE_SDK), canonicalName); |