Go to file
João Abecasis b59d831980 Introducing Q_ARRAY_LITERAL
This provides the same functionality as the specialized QStringLiteral
and QByteArrayLiteral, but on top of QArrayData.

The macro has two variations, variadic and simple. The variadic version
depends on compiler support for (C99) variadic macros and enables
static initialization of arrays of any POD data. Use of this macro is
not recommended on code or applications that need to work in
configurations where variadic macros are not supported.

The simple version is more portable and is enough to support the use
cases of QStringLiteral and QByteArrayLiteral, also providing a fallback
that allocates and copies data when static initialization is not
available.

Change-Id: I7154a24dcae4bbbd7d5978653f620138467830c5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-01-25 20:33:41 +01:00
bin Revert "Fixed qtmodule-configtests on Windows" 2012-01-13 04:03:59 +01:00
config.tests Remove ICD plugin for bearer. 2012-01-10 07:12:41 +01:00
dist Fixes examples/tests to use qinptr in QTcpServer::incomingConnection. 2012-01-13 20:55:00 +01:00
doc/src Fixes examples/tests to use qinptr in QTcpServer::incomingConnection. 2012-01-13 20:55:00 +01:00
examples Fixes examples/tests to use qinptr in QTcpServer::incomingConnection. 2012-01-13 20:55:00 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Added mkspecs for WEC7 platform builder and armv4i HW. 2012-01-13 13:23:20 +01:00
qmake qmake wasn't handling spaces in names when dealing with extra installs. 2012-01-14 05:36:54 +01:00
src Introducing Q_ARRAY_LITERAL 2012-01-25 20:33:41 +01:00
tests Introducing Q_ARRAY_LITERAL 2012-01-25 20:33:41 +01:00
tools Don't use check as an identifier in the configure app. 2012-01-10 16:12:06 +01:00
util Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Don't enable V8's snapshot feature when building inside scratchbox for ARM 2012-01-11 15:59:51 +01:00
configure.exe Add a new QT_NO_SSL feature macro. 2012-01-06 11:19:23 +01:00
header.BSD Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.FDL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.LGPL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.LGPL-ONLY Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02: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 copyright year in license headers. 2012-01-05 06:36:56 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Ensure qmodule.pri is installed. 2011-11-23 00:12:03 +01:00
sync.profile Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00