Unsolved This application failed to start because it could not find or load the Qt platform plugin "eglfs" in "/usr/local/qt5/plugins".
-
What device are you using exactly ?
-
@SGaist
Hi, the device is ti DM8168/AM389x,its arm arch is armv7-a.
the configure result shows that :KMS enabled. ...... EGL enabled. ...... egl-x11.cpp: In function 'int main(int, char**)': egl-x11.cpp:48:50: error: invalid conversion from 'Display*' to 'EGLNativeDisplayType' egl-x11.cpp:49:11: error: invalid conversion from 'EGLNativeDisplayType' to 'Display*' egl-x11.cpp:50:79: error: invalid conversion from 'Window' to 'void*' egl-x11.cpp:51:26: error: invalid conversion from 'void*' to 'Window' egl-x11.cpp:51:26: error: initializing argument 2 of 'int XDestroyWindow(Display*, Window)' Makefile:239: recipe for target 'egl-x11.o' failed make: *** [egl-x11.o] Error 1 **EGL-X11 disabled.**
so, the egl/x11 is old on my device ,that cause the error ?
-
What Linux distribution are you using ?
-
@SGaist
Hi,Linux version 2.6.37+ (gcc version 4.5.3 20110311 (prerelease) (GCC) )
-
@Alex_wang This is the Linux kernel version not the name and version of your Linux distribution.
And kernel is very old. -
@jsulm
Hi,
sorry,my kernel is from the DVRRDK(04.00.00.03) that ti provides,
I can't know the linux distribution..... -
Just because of the date I'd say that your dependencies are out of date.
You may try to patch Qt's to match your version of the relevant X11 libraries but there's not guaranty it's doable.
-
I would to cross compile the latest libX11, and install ,
then the "EGL-X11 can be enabled" ? -
If possible you should rather upgrade your device distribution to something more recent.
-
@SGaist
Hi,
Thanks for your reply.
Perhaps I can only do that.