To call the QML classes in C++, you need to set the objectName property.
In your Qml:
import QtQuick.Controls 2.0
Button {
objectName: "buttonTest"
}
Then, in your C++, you can get the object with QObject.FindChild<QObject*>(QString)
Like that:
QQmlApplicationEngine e...