QT platform Plugins unable to load
I am deploy the qt application on RPI3 board. I run the application I am getting below error message.How to solve this errors.
"QML debugging is enabled. Only use this in a safe environment.
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
Thanks in Advance,
@swathi Try to set QT_DEBUG_PLUGINS environment variable and then start your app - you should get more information which should help to identify the problem (most probably missing library).
QT_DEBUG_PLUGINS environment variable
where to set QT_DEBUG_PLUGINS environment variable.
Could you please give more information.
@swathi Where you start your app. If you start it manually on the command line that do it there:
QT_DEBUG_PLUGINS=1 && ./my_app
If you start it in QtCreator then set it in the "Run Environment" in Projects settings.
I gave the command like QT_DEBUG_PLUGINS=1 && ./my_app in command prompt, I am getting same error message.(What I mentioned in above).
@swathi Did you build your app in debug mode?
yes. I build My app in debug mode and deploy the app into RPI3 board.