summaryrefslogtreecommitdiff
path: root/src/corelib/tools/qstring.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-09 16:57:09 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-10 13:57:40 +0100
commit006b41c8dd76d6ee33af5459339742fcae2b680f (patch)
tree6f5adf4944ce49d434709c164d23a7944de3d067 /src/corelib/tools/qstring.h
parent87c019c75d12c19f5643d55d26f6cbcaf0852082 (diff)
downloadqt4-tools-006b41c8dd76d6ee33af5459339742fcae2b680f.tar.gz
build lrelease bootstrapped
needed for build-time qm generation in qt itself. the downsides are a) that the other bootstrapped tools grow by ~12kB (on x86) due to qdatastream being pulled in by qbytearray and qstring and b) that lrelease isn't l10n'd itself anymore (the latter could be fixed by building a non-qobject qtranslator).
Diffstat (limited to 'src/corelib/tools/qstring.h')
-rw-r--r--src/corelib/tools/qstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.h b/src/corelib/tools/qstring.h
index 74f93a4ca0..55d6d03451 100644
--- a/src/corelib/tools/qstring.h
+++ b/src/corelib/tools/qstring.h
@@ -1065,7 +1065,7 @@ inline QChar &QString::ref(uint i)
}
#endif
-#ifndef QT_NO_DATASTREAM
+#if !defined(QT_NO_DATASTREAM) || defined(QT_BOOTSTRAPPED)
Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &);
#endif