qt5base-lts/tests/auto
Milian Wolff 5f2afe18cc Fix QMetaObject::newInstance on non-QObject meta object
QMetaObject::newInstance returns a QObject, thus it's not possible to
create a new instance of a Q_GADGET using this function. Previously, we
returned a non-null QObject pointer for such scenarios, which then
leads to crashes when one tries to use it. Now, we check whether the
meta object inherits QObject's meta object, and error out early
otherwise.

Change-Id: I7b1fb6c8d48b3e98161894be2f281a491963345e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-04-09 15:46:35 +00:00
..
android
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake Export modules' enabled/disabled features to cmake 2018-09-28 13:10:28 +00:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib Fix QMetaObject::newInstance on non-QObject meta object 2019-04-09 15:46:35 +00:00
dbus Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
gui Forward physical parameters for derived QImages 2019-04-01 15:21:27 +00:00
guiapplauncher
installed_cmake
network tst_http2 - extend 'singleRequest' test case 2019-04-09 04:08:01 +00:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Fix build with -no-gui on macOS 2019-03-04 12:25:53 +00:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00
sql Fix a couple of SQL tests 2019-02-19 11:00:19 +00:00
testlib Add testlib selftests for double and for non-finite float and double 2019-02-06 10:11:22 +00:00
tools Fix installation of .pdb files for applications that have VERSION set 2019-03-31 12:45:24 +00:00
widgets Merge remote-tracking branch 'origin/5.12.3' into 5.12 2019-04-08 09:53:39 +02:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
testserver.pri Postpone testing docker images and files until running 'make check' 2018-08-30 04:06:51 +00:00