Use a shared QQmlEngine when possible
If a qml engine is found as the property __qmlEngine of qApp, use it to load the qml, in order to workaround the bug
Edited by Marco Martin
If a qml engine is found as the property __qmlEngine of qApp, use it to load the qml, in order to workaround the bug