could not find qtplatfom plugin eglfs
-
@Asha Google knows https://en.wikipedia.org/wiki/X_Window_System
-
@Asha said in could not find qtplatfom plugin eglfs:
i need to find which backend is running on my device
yes
-
@Asha Please take a look at https://doc.qt.io/qt-5/embedded-linux.html
"we are using linux backend" - which one? -
-
@jsulm Hi ,Thank you for you guide...
I found which plugin is running on my board,
That is eglfs only,with this link https://doc.qt.io/qt-5/embedded-linux.html
for beagleboneboard my build directory is Qt5,
I got the information in the folder below
cd /home/beagle/Qt5/mkspecs/devices/linux-beagleboard-g++/qmake.conf
in qmake.conf file
QT_QPA_DEFAULT_PLATFORM = eglfs
so now,how to proceed next?
can i change the QT_QPA_DEFAULT_PLATFORM in that file ?
or need to configure with eglfs only?
-
@Asha said in could not find qtplatfom plugin eglfs:
in the mentioned the path i got it(dont no its currect or not just guessed)
Sorry, I don't get it. What was the output of configure? Did it say eglfs was activated?
-
I have extracted qt source code,that can be mmoved in QT5 directory,
in QT5/qtbase/mkspecs/devices/linux-beagleboard-g++/qmake.conf file,
the line presene QT_QPA_DEFAULT_PLATFORM= eglfs...
so now i need to configure,
I need to mentioned eglfs in my configure line,so
./configure -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /home/beagle/BB/sysroot -prefix /home/debian/Qt5ForBBB -hostprefix ~/Qt5ForBBB -device-option CROSS_COMPILE="path" -egl -eglfs -nomake tests -nomake examples -skip qtconnectivitty -recheck-all -v
this is correct?
-
@Asha said in could not find qtplatfom plugin eglfs:
how do i activate it?
Check the configure log to see what was missing (I'm quite sure that I already suggested that before).
-
@jsulm Hi,
about eglfs i got this type error,
looking for library opengl_es2
Trying source 0 (type pkgConfig) of library opengl_es2 ...- PKG_CONFIG_SYSROOT_DIR=/home/beagle/BB/sysroot PKG_CONFIG_LIBDIR=/home/beagle/BB/sysroot/usr/lib/pkgconfig:/home/beagle/BB/sysroot/usr/share/pkgconfig:/home/beagle/BB/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig /usr/bin/pkg-config --exists --silence-errors glesv2
pkg-config did not find package.
=> source produced no result.
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.
test config.qtbase_gui.libraries.opengl_es2 FAILED
Any ideas ,how do I slove this?
- PKG_CONFIG_SYSROOT_DIR=/home/beagle/BB/sysroot PKG_CONFIG_LIBDIR=/home/beagle/BB/sysroot/usr/lib/pkgconfig:/home/beagle/BB/sysroot/usr/share/pkgconfig:/home/beagle/BB/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig /usr/bin/pkg-config --exists --silence-errors glesv2