For EGLS on the Beaglebone, I found this site to be useful:
https://elinux.org/BeagleBoneBlack/SGX_%2B_Qt_EGLFS_%2B_Weston#QtQuick_.2B_EGLFS

These previous posts might be helpful to you as well:
https://mail.google.com/mail/u/0/?tab=rm&ogbl#search/eglfs/FMfcgxwHNDCsxVdDfLbmTGZpHNmfxJPC

https://mail.google.com/mail/u/0/?tab=rm&ogbl#search/eglfs/FMfcgxwDqTfbHNjgxpDXtlXccKJmMgCS

For the error you are seeing, do you have the QMAKE environment variables
set as the error suggests?  The should point to your sysroot location:

ERROR: The OpenGL functionality tests failed!
You might need to modify the include and library search paths by editing
*QMAKE_INCDIR_OPENGL[_ES2]*,
*QMAKE_LIBDIR_OPENGL[_ES2]* and *QMAKE_LIBS_OPENGL[_ES2]* in the mkspec for
your platform.



Cheers,

Jon


On Wed, Oct 21, 2020 at 7:11 AM 'Jeremias Ramirez' via BeagleBoard <
[email protected]> wrote:

> Hello to everyone.
> I'm Jeremias, from Argentina.
> Recently I started working with the BBB and Qt software.
> Tooks me a long time, but i finally be able to install it and make some
> tests.
> But, i never can run an app using eglfs, when I run an Qt example project
> , i get:
>
> Could not find the Qt platform plugin "eglfs" in ""
>
> After a time, i see i never install so many things within the Qt
> installation, so i read a lot and i start over again.
> But,  in the ./configure step, i got this error:
>
> My configure:
>
> sudo ./configure -no-gcc-sysroot -device linux-beagleboard-g++
> -device-option
> CROSS_COMPILE=/opt/gcc-linaro-7.5.0-2019.12-x86_64_armv8l-linux-gnueabihf/bin/armv8l-linux-gnueabihf-
> -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake
> -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix
> /usr/local/qt5bbb -qt-zlib -qt-libpng -no-openssl -opengl es2 -eglfs -v
>
> Error:
>
> ERROR: Feature 'opengles2' was enabled, but the pre-condition
> 'config.win32 || (!config.watchos && !features.opengl-desktop &&
> libs.opengl_es2)' failed.
>
> ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android
> && !config.darwin && !config.win32 && features.egl' failed.
>
> ERROR: The OpenGL functionality tests failed!
> You might need to modify the include and library search paths by editing
> QMAKE_INCDIR_OPENGL[_ES2],
> QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for
> your platform.
>
> Config.log snippet:
>
> Trying source 1 (type makeSpec) of library opengl_es2 ...
> None of [libGLESv2.so libGLESv2.a] found in [] and global paths.
> None of [libEGL.so libEGL.a] found in [] and global paths.
> None of [libIMGegl.so libIMGegl.a] found in [] and global paths.
> None of [libsrv_um.so libsrv_um.a] found in [] and global paths.
>   => source produced no result.
>
> I'm really trying to fix it by myself, but i can't, i don't want to give
> up with this...
>
> Thanks in advice for any reply.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/5a7594ee-6abc-4747-9aa6-525be416382fo%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/5a7594ee-6abc-4747-9aa6-525be416382fo%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkrN9zUxtTXpmK49s5NUYAvzNgzAEyO8TyJ1S-ZFFcnkAQ%40mail.gmail.com.

Reply via email to