These should be set in the qmake.conf: Ref: https://wlhe.github.io/2018/01/Build-Qt5.10-for-Raspberry-PI3 https://doc.qt.io/qt-5/qmake-variable-reference.html
More References: https://forum.qt.io/topic/71850/opengl-es2-cross-compile-for-beaglebone-black-using-os-debian-when-built-qt5-7-0/15 https://groups.google.com/g/beagleboard/c/Xx6NxdUkqAw/m/fNCXyFJXBwAJ See Robert's note about installing QT: https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=false&hideforumtitle=true&parenturl=https%3A%2F%2Fbeagleboard.org%2Fdiscuss#!searchin/beagleboard/qt$20egl|sort:date/beagleboard/hpgDq4pj0YQ/9NN-OIRUAQAJ Cheers, Jon On Wed, Oct 21, 2020 at 9:24 AM 'Jeremias Ramirez' via BeagleBoard < beagleboard@googlegroups.com> wrote: > Hi Jon, thank you for the reply. > > Thanks for the link, the first may be useful later, when this works. > The mailing links, are unavailale for me. > > About the QMAKE variables, I try to change the paths on qmake.conf within > the beagleboard device folder, but i dont know if I'm doing it wrong or > something else because the error doesn't seem to change. > > At least my configurations doesn't aply to those empty []. > None of [libGLESv2.so libGLESv2.a] found in [] and global paths. > > Do you know how to edit those paths inside the ./configure command line to > be sure be applied? > > Thanks for the link, the first may be useful later, when this works. > The mailing links, are unavailale for me. > > Thank you very much for your time. > > El miércoles, 21 de octubre de 2020, 12:18:40 (UTC-3), jonnymo escribió: >> >> 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 < >> beagl...@googlegroups.com> 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 beagl...@googlegroups.com. >>> 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 beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/edd13bfd-37ba-4504-9701-1946a3940962o%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/edd13bfd-37ba-4504-9701-1946a3940962o%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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkrNxmdcQV6-_S5dNFMhoqbMG2ey103N-OsJBXtfAM%2ByDg%40mail.gmail.com.