aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlcachegen/qmlcachegen.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-06-26 16:46:23 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-07-08 05:56:02 +0200
commit1c5c5f7aadc2dcc73a21eeb818e95c4e1b7de70f (patch)
treeee075b6807b6dbd9b095ca044e50dfa917da73e2 /tools/qmlcachegen/qmlcachegen.cpp
parent0f2178a7e3cba4992f8b6e32927534daa5c6ee7e (diff)
Fix Qt6 build in preparation of qt5 submodule update
Fixes the QTextStream usages. Change-Id: I0c009a82fb644a9f3c3d42ec410d18b680977f23 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmlcachegen/qmlcachegen.cpp')
-rw-r--r--tools/qmlcachegen/qmlcachegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlcachegen/qmlcachegen.cpp b/tools/qmlcachegen/qmlcachegen.cpp
index a91c181233..b5abe568aa 100644
--- a/tools/qmlcachegen/qmlcachegen.cpp
+++ b/tools/qmlcachegen/qmlcachegen.cpp
@@ -371,7 +371,7 @@ static bool saveUnitAsCpp(const QString &inputFileName, const QString &outputFil
{
QTextStream stream(&hexifiedData);
const uchar *end = begin + size;
- stream << hex;
+ stream << Qt::hex;
int col = 0;
for (const uchar *data = begin; data < end; ++data, ++col) {
if (data > begin)