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
needs systemsettings!322 (merged)
(cherry picked from commit a4231933)
c25a2a76 fix layout
Co-authored-by: Marco Martin notmart@gmail.com