summaryrefslogtreecommitdiffstats
path: root/src/qbase.pri
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-05-06 11:13:42 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-05-09 16:05:48 (GMT)
commit8447f5616be731d78081f326bb9cb3f5aa9087a4 (patch)
tree135f927439528851b1f06d62c002f06db2c50b82 /src/qbase.pri
parentebc134db484eee31491836b619aad1ee86e3070e (diff)
downloadQt-8447f5616be731d78081f326bb9cb3f5aa9087a4.zip
Qt-8447f5616be731d78081f326bb9cb3f5aa9087a4.tar.gz
Qt-8447f5616be731d78081f326bb9cb3f5aa9087a4.tar.bz2
QT_USE_QSTRINGBUILDER to fix source compatibility
In 4.8 we added support for using StringBuilder with QByteArray. But this is breaking source compatibility for people that used QT_USE_FAST_OPERATOR_PLUS in Qt 4.7. So we introduce a new macro Notice that QT_USE_FAST_CONCATENATION was not working without QT_USE_FAST_OPERATOR_PLUS, so we remove the checking of that macro. Reviewed-by: joao
Diffstat (limited to 'src/qbase.pri')
-rw-r--r--src/qbase.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qbase.pri b/src/qbase.pri
index ce69757..c4d081f 100644
--- a/src/qbase.pri
+++ b/src/qbase.pri
@@ -163,7 +163,7 @@ contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
DEFINES *= QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS
contains(QT_CONFIG, qt3support):DEFINES *= QT3_SUPPORT
DEFINES *= QT_MOC_COMPAT #we don't need warnings from calling moc code in our generated code
-DEFINES *= QT_USE_FAST_OPERATOR_PLUS QT_USE_FAST_CONCATENATION
+DEFINES *= QT_USE_QSTRINGBUILDER
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end