aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/generators
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2016-08-23 10:09:10 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2016-08-23 08:17:52 +0000
commit5e8db75c75fcb9d1af007fa660867def66985c73 (patch)
tree6c42700047ded747f7aa9dbcb9c60cc9460579ce /src/lib/corelib/generators
parentc5873fb3ea6c109eda30cedc8ea39700c75b88d7 (diff)
Fix build with MSVC
Change-Id: Ice4e529cd79bdd21c91179e7ad0e2036a1a40974 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/lib/corelib/generators')
-rw-r--r--src/lib/corelib/generators/generatordata.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/corelib/generators/generatordata.cpp b/src/lib/corelib/generators/generatordata.cpp
index 0f578c642..c279c4b20 100644
--- a/src/lib/corelib/generators/generatordata.cpp
+++ b/src/lib/corelib/generators/generatordata.cpp
@@ -44,9 +44,9 @@ QString GeneratableProductData::name() const
QString oldName = name;
name = it.value().name();
if (!oldName.isEmpty() && oldName != name)
- throw qbs::ErrorInfo(QStringLiteral("Products with different names per-configuration "
- "are not compatible with this generator. Consider "
- "using the targetName property instead."));
+ throw qbs::ErrorInfo(QLatin1String("Products with different names per-configuration "
+ "are not compatible with this generator. Consider "
+ "using the targetName property instead."));
}
return name;
}
@@ -60,9 +60,9 @@ QStringList GeneratableProductData::dependencies() const
QStringList oldList = list;
list = it.value().dependencies();
if (!oldList.isEmpty() && oldList != list)
- throw qbs::ErrorInfo(QStringLiteral("Products with different dependency lists "
- "per-configuration are not compatible with this "
- "generator."));
+ throw qbs::ErrorInfo(QLatin1String("Products with different dependency lists "
+ "per-configuration are not compatible with this "
+ "generator."));
}
return list;
}
@@ -76,8 +76,8 @@ QString GeneratableProjectData::name() const
QString oldName = name;
name = it.value().name();
if (!oldName.isEmpty() && oldName != name)
- throw qbs::ErrorInfo(QStringLiteral("Projects with different names per-configuration "
- "are not compatible with this generator."));
+ throw qbs::ErrorInfo(QLatin1String("Projects with different names per-configuration "
+ "are not compatible with this generator."));
}
return name;
}