How to make sure of using eglfs for Qt Application on enbedded platform?
-
wrote on 25 Aug 2021, 07:31 last edited by
Hi,
I am using Qt5.12.10 on Ubuntu18.04
I want to test Qt application with eglfs enabled, but I do not if the pre-build Qt binary for Linux is enabled eglfs. I can see libeglfs.so in the plugin folder. is there any way to find out the configure arguments of the pre-build Qt binary?
and after running those command:
export QT_QPA_PLATFORM=eglfs export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
and then use the following command to see used library
ldd QtApplication_name
but I did not find 'libeglfs' or any library with eglfs in the name.
So, another question is how to make sure the eglfs plugin is being used by the Qt application?Thank you very much.
-
Hi,
These are plugins loaded at run time. You won't see any linked library to your application.
If the backend is not present, your application will not start.
-
Hi,
These are plugins loaded at run time. You won't see any linked library to your application.
If the backend is not present, your application will not start.
wrote on 27 Aug 2021, 00:50 last edited by@SGaist said in How to make sure of using eglfs for Qt Application on enbedded platform?:
backend
thanks for your reminder
I suddenly remembered there is an environment variable QT_DEBUG_PLUGINS which can output plugin load information.
1/3