linuxdeploy-plugin-qt icon indicating copy to clipboard operation
linuxdeploy-plugin-qt copied to clipboard

Add optional including of eglfs platform plugins using ENABLE_EGLFS environment variable

Open viktorgino opened this issue 4 years ago • 3 comments

viktorgino avatar Nov 19 '21 16:11 viktorgino

egldeviceintegrations is not a platform plugins path, is it? I think we should have a separate deployer.

Is there a reason other than bloat that prevents us from shipping those plugins by default?

What is your use case? Do you have an application on GitHub that needs this which I could have a look at?

TheAssassin avatar Nov 19 '21 23:11 TheAssassin

Hi @TheAssassin

The egl platform plugin has a few different integrations. So when we launch a Qt app with -platform eglfs it selects which eglfs integration to use. In my case its located under /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/ And the size of the files are :

9.5K libqeglfs.so
393K libqlinuxfb.so
135K libqminimalegl.so
107K libqminimal.so
123K libqoffscreen.so
200K libqvnc.so
9.5K libqxcb.so

I'm trying to create an AppImage for the Rapsberry Pi OS Lite version, so no X11 there. EGLFS is used on a lot of other embedded platforms too. This is the app I'm working with at the moment: https://github.com/viktorgino/headunit-desktop works fine with these changes.

Only other issue I have now is the bluetooth qml module is not getting deployed even tho I added it to the QML_MODULES_PATHS, but that's for an other PR :)

viktorgino avatar Nov 20 '21 06:11 viktorgino

Ping @viktorgino. I'd like this to get merged.

TheAssassin avatar Apr 08 '22 23:04 TheAssassin