Unsolved QT platform Plugins unable to load
-
Hi ,
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"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
Aborted"Thanks in Advance,
Regards,
Swathi. -
@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).
-
@jsulm said in QT platform Plugins unable to load:
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.
-
Hi,
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).
Regards,
Swathi. -
@swathi Did you build your app in debug mode?
-
yes. I build My app in debug mode and deploy the app into RPI3 board.