qt5base-lts/tests/auto
Marc Mutz 38e90ad2b3 qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT
Up to now, the feature classe Uniform Initialization was subsumed by the
Q_COMPILER_INITIALIZER_LISTS flag together with support for
std::initializer_list.

This caused at least two problems:
1. On QNX, the standard libray does not ship <initializer_list>, even
   though the compiler (a GCC 4.6, IIRC) supports it. But since there
   was only one Q_COMPILER flag for both, support for the compiler-only
   part of the feature had to be disabled, too.
2. MSVC 2013 supports initializer lists, but has a bug that renders full
   uniform initialization support, as required for QUuid, useless.

By splitting the feature into two, we can separate them better, and do
so in QUuid, which is the only class that currently takes advantage of
uniform initialization (to provide constexpr constructors).

Since Q_COMPILER_INITIALIZER_LISTS worked as a flag for uniform
initialization so far, with the two known exceptions above,
UNIFORM_INIT is defined whenever INITIALIZER_LIST is, except that
I don't revert UNIFORM_INIT on QNX as I do for INITIALIZER_LISTS
and that I expect the MSVC 2013 features to set INITIALIZER_LIST,
but not UNIFORM_INIT.

Task-number: QTBUG-34705

Change-Id: I81916e950a0f3aab3de7977e0326d2de3d31b14c
Reviewed-by: Yuchen Deng <loaden@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-11-15 06:30:53 +01:00
..
android Adding CI utilities to Android test script 2013-10-30 11:29:04 +01:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Teach CMake about Qt 5 plugins. 2013-09-10 14:38:18 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:25 +01:00
corelib qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
dbus don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
gui QMetaType: Fix conversion between module types. 2013-11-06 16:15:15 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network QSslConfiguration: rename [get]session() to [get]sessionTicket() 2013-11-08 18:58:27 +01:00
opengl Mark tst_qgl as insignificant in angle build 2013-11-12 07:11:07 +01:00
other MacGui tests: Remove references to CGPostMouseEvent 2013-10-29 18:30:48 +01:00
printsupport Match up the specified paper size to an existing one if possible 2013-11-14 21:15:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql don't unnecessarily use qtgui 2013-10-08 20:39:03 +02:00
testlib support building with -no-gui 2013-10-11 21:03:30 +02:00
tools Test that Qt tools can handle ' as a digit separator. 2013-10-30 09:44:07 +01:00
widgets Skip tst_QGraphicsItem::ensureUpdateOnTextItem() on OSX 10.7 2013-11-14 15:24:47 +01:00
xml Fully expand entities to ensure deep or widely nested ones fail parsing 2013-11-14 17:43:58 +01:00
auto.pro exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00
network-settings.h network test settings: support newer FTP server versions 2013-08-28 12:45:34 +02:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00