Go to file
Thiago Macieira d631c31235 Make QStringLiteral and QByteArrayLiteral always return the real types
Up until now, the macros would return an internal type that contained
the pointer to the data. This breaks code that tried to use the macros
with operators, like QStringBuilder but also when writing:

     QStringList() << QStringLiteral("a") << QStringLiteral("b");

This change seems to work fine now and I can also verify that this
works:

     const auto str = QStringLiteral("Hello");

Even though it creates a QString, which is non-POD and non-constexpr.

Change-Id: Iaf82af9bea4245513a1128ea54f9d2d3d785fb09
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
2012-04-23 23:26:28 +02:00
bin Fixed syncqt to ignore all lines that define Qt namespace 2012-04-11 01:42:12 +02:00
config.tests Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
dist Remove QVariant constructor taking Qt::GlobalColor. 2012-04-19 10:09:39 +02:00
doc/src Logging: Change arguments of message handler to avoid conversions 2012-04-20 08:37:06 +02:00
examples Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
qmake Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
src Make QStringLiteral and QByteArrayLiteral always return the real types 2012-04-23 23:26:28 +02:00
tests Make QStringLiteral and QByteArrayLiteral always return the real types 2012-04-23 23:26:28 +02:00
tools Merge remote-tracking branch 'origin/master' into api_changes 2012-04-10 15:31:45 +02:00
util Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add imports directory to ignore list 2012-04-11 01:42:12 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Merge remote-tracking branch 'origin/master' into api_changes 2012-04-16 12:04:34 +02:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro device: Add -device and -device-option to configure 2012-03-27 05:35:57 +02:00
sync.profile Add qprocessordetection.h 2012-02-08 12:33:11 +01:00