diff options
author | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2017-08-10 12:10:57 +0200 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2017-08-10 12:04:51 +0000 |
commit | 29ca3235df5430965b788daf78a8fd8a34ad6c96 (patch) | |
tree | d5a7c2be0f8cf333e37383bb0d18bdc54e1cfa46 /src/qdoc/clangcodeparser.cpp | |
parent | fd3976142ca2ec4fb555917cad92135a2070eb0b (diff) | |
download | qttools-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.cpp | 4 |
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); } |