Load specific QPA Plugin
-
Hello,
With most Qt installations also come different QPA plugins. Is it possible to load a specific QPA plugin? On my BeagleBone applications always try to load the XCB plugin which needs DRI2 which is not available in the near future. So I thought about using directfb instead. How can I do this?
Regards
Alexander -
You need to compile Qt with -platform directfb, IIRC. It's probably also possible to do the choice at runtime, but I don't remember how.
-
The option to switch at run-time is what I am looking for since the Qt Build I am using is already compiled with the -directfb flag. Is there a way to show all installed QPA plugins?
-
Based on "this":http://wayland.freedesktop.org/qt5.html, you just need to pass -platform directfb to your application.