summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2014-10-11 18:35:25 +0100
committerSean Harmer <sean.harmer@kdab.com>2014-10-11 22:35:06 +0200
commite841008e661c2d3b7e45b1ad97ae3d5e42e6bbcb (patch)
treec74aa58980074f092a0454cd6264075fb8973b65 /examples
parent0c95c3002b52eee861890276b6216edb87b319f0 (diff)
Work around MSVC compiler bug vs QStringLiteral
Change-Id: I2dafe9928847844ab72dc75c8ebbc338191d3f97 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/deferred-renderer-cpp/gbuffer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/deferred-renderer-cpp/gbuffer.cpp b/examples/deferred-renderer-cpp/gbuffer.cpp
index c7cda9b71..7ecaedd07 100644
--- a/examples/deferred-renderer-cpp/gbuffer.cpp
+++ b/examples/deferred-renderer-cpp/gbuffer.cpp
@@ -59,10 +59,10 @@ GBuffer::GBuffer(Qt3D::QNode *parent)
};
const QString attachmentNames[AttachmentsCount] = {
- QStringLiteral("color"),
- QStringLiteral("position"),
- QStringLiteral("normal"),
- QStringLiteral("depth")
+ QString::fromLatin1("color"),
+ QString::fromLatin1("position"),
+ QString::fromLatin1("normal"),
+ QString::fromLatin1("depth")
};
for (int i = 0; i < AttachmentsCount; i++) {