diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-04-28 16:29:04 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-04-28 15:31:37 +0000 |
commit | ebd808fc7f088fae3445af6bab6ec09b32061287 (patch) | |
tree | f9495f6d0b76822133b3aecc236d5af8903de73a | |
parent | 73ba1c3442dc7bb14a71183a98f6a08f9600f4e9 (diff) |
Fix build on Windows due to unsupported string concatenation issue
Change-Id: Ie8cdf451380a56bea4b23e3d08953f8c7690c95e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r-- | generator/shiboken2/cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/shiboken2/cppgenerator.cpp b/generator/shiboken2/cppgenerator.cpp index d6cc406c6..b6da137f7 100644 --- a/generator/shiboken2/cppgenerator.cpp +++ b/generator/shiboken2/cppgenerator.cpp @@ -4901,7 +4901,7 @@ void CppGenerator::writeTypeDiscoveryFunction(QTextStream& s, const AbstractMeta } QString CppGenerator::writeSmartPointerGetterCast() { - return QStringLiteral("const_cast<char *>(" SMART_POINTER_GETTER ")"); + return QLatin1String("const_cast<char *>(" SMART_POINTER_GETTER ")"); } void CppGenerator::writeSetattroFunction(QTextStream &s, GeneratorContext &context) |