To pass component, pass pointer to QQmlComponent inside fromValue(), as follows...
@ QObject* m_pTabView = findChild<QQuickItem >("myTabView");
if (m_pTabView)
{
QVariant returnedValue;
QVariant title = "Hello";
QQmlComponent component = new QQmlComponent(&app.qmlEngine(), QUrl("qrc:/qml/Measurements.qml"), this);
QMetaObject::invokeMethod(m_pTabView, "addTab",
Q_RETURN_ARG(QVariant, returnedValue),
Q_ARG(QVariant, title),
Q_ARG(QVariant, QVariant::fromValue(component)));
}
@