qt5base-lts/tests/auto
Kari Oikarinen 89f443dfbc QScopeGuard: Fix build failures with qScopeGuard()
Partially reverts 4f077b7e5f.

Can't overload with forwarding references and lvalue references. Use a single
forwarding reference overload, but take care of not trying to create a
QScopeGuard of reference type and forward instead of moving.

Add tests to ensure calling with both lvalues and rvalues is possible.

Change-Id: Ia034afe0a8feb08246c2c7c154a85cae37421c98
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2020-02-01 11:07:08 +02:00
..
bic/data Add binary compatibility files for qtbase 5.14 branch 2019-12-20 10:41:11 +02:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
corelib QScopeGuard: Fix build failures with qScopeGuard() 2020-02-01 11:07:08 +02:00
dbus Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
gui Allow creating a valid QColorSpace one value at a time 2020-02-01 00:31:01 +01:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network QNetworkAccessManager: deprecate bearer related functions 2020-01-30 05:29:35 +01:00
opengl Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
other Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-28 08:09:51 +01:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Merge remote-tracking branch 'origin/5.14' into 5.15 2019-12-10 13:51:40 +02:00
testlib Fix unused argument warning in test 2020-02-01 00:49:11 +01:00
tools Introduce Q_PROPERTY attribute REQUIRED 2020-01-23 16:47:45 +01:00
widgets QPushButton: only trigger button when click occurs within the bevel rect 2020-01-28 22:26:26 +01:00
xml QNetworkReply: deprecate the 'error' getter 2020-01-13 15:50:47 +01:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h QAbstractSocket: deprecate 'error' member-function 2020-01-10 12:54:53 +01:00