qt5base-lts/tests/auto/corelib/kernel/qmetaobject
Thiago Macieira 990c18d9c7 tst_QMetaObject: add a test for using Q_ARG with a non-const ref
This is in use in tst_qdbusinterface.cpp, so let's have it here to make
sure it works:

    QVERIFY(QMetaObject::invokeMethod(&iface, "ping",
                                      Q_RETURN_ARG(QDBusVariant, retArg),
                                      Q_ARG(QDBusVariant, arg),
                                      Q_ARG(QDBusVariant, arg2),
                                      Q_ARG(QDBusVariant&, retArg2)));

Change-Id: I36b24183fbd041179f2ffffd170271424c048292
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-07-27 21:09:58 -07:00
..
.gitignore
CMakeLists.txt tst_QMetaObject: change tests to forward-declared-only 2022-07-27 21:09:55 -07:00
forwarddeclared.cpp tst_QMetaObject: add some tests for passing and receiving pointers 2022-07-27 21:09:56 -07:00
forwarddeclared.h tst_QMetaObject: add some tests for passing and receiving pointers 2022-07-27 21:09:56 -07:00
tst_qmetaobject.cpp tst_QMetaObject: add a test for using Q_ARG with a non-const ref 2022-07-27 21:09:58 -07:00