summaryrefslogtreecommitdiff
path: root/src/qdoc/clangcodeparser.cpp
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@qt.io>2017-08-10 12:10:57 +0200
committerMartin Smith <martin.smith@qt.io>2017-08-10 12:04:51 +0000
commit29ca3235df5430965b788daf78a8fd8a34ad6c96 (patch)
treed5a7c2be0f8cf333e37383bb0d18bdc54e1cfa46 /src/qdoc/clangcodeparser.cpp
parentfd3976142ca2ec4fb555917cad92135a2070eb0b (diff)
downloadqttools-29ca3235df5430965b788daf78a8fd8a34ad6c96.tar.gz
Build fix
clangcodeparser.cpp:1025:39: error: no match for ‘operator+=’ (operand types are ‘QByteArray’ and ‘QChar’). Change-Id: Ibc6fa1f11996e9ab5805b85b3165da3b1d7b2afb Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-rw-r--r--src/qdoc/clangcodeparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp
index 3ef696367..4cf678ee6 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1022,8 +1022,8 @@ void ClangCodeParser::buildPCH()
QByteArray entry;
entry = "#include \"";
entry += headerPath;
- entry += QChar('/');
- entry += phead;
+ entry += '/';
+ entry += phead.toLatin1();
entry += "\"\n";
tmpHeaderFile.write(entry);
}