lotietoqml: Fix running from packaged build


In a packaged build, lottietoqml is placed next to a qt.conf file.
This caused it to fail to launch from anywhere except in its local
directory, with an error that it could not find the QPA plugin.

It turns out that this was triggered by trying to query the
available QPA plugins before creating a QGuiApplication. We did
this to avoid forcing the minimal plugin if it is not available,
but other tools that hardcode this plugin does it unconditionally,
so we do the same in lottietoqml.

Pick-to: 6.11
Task-number: QTBUG-142792
Change-Id: I3237cb862d60f9131b87393f01b505a70bc7d666
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit935f848adff048e2ef633952853f8f72b8a9eb7b
parent82f0ead92398a91be98c2793e8dd18a5ca5015ae
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeThu, 18 Dec 2025 09:47:47 +0100