Unsolved could not find qtplatfom plugin eglfs
-
@Asha Google knows https://en.wikipedia.org/wiki/X_Window_System
-
@jsulm It means first i need to find which backend is running on my device ,based on that I need to cross compile the qt?
-
@Asha said in could not find qtplatfom plugin eglfs:
i need to find which backend is running on my device
yes
-
@jsulm after finding ,again i need to build ,cross compiled qt?
-
@Asha If you did not cross compile needed platform plug-in then yes
-
@jsulm Hi,
I flashed my board with debian image...any idea which plugin is running on that image...
I got the answer ,we are using linux backend...
-
for eglfs plugin ,which packages are required and how to install those?
-
@Asha Please take a look at https://doc.qt.io/qt-5/embedded-linux.html
"we are using linux backend" - which one? -
@jsulm I asked,which backend is running on board?
got the ans:linux
shall I ask more about backend or any link?
-
@Asha We know from the beginning that the OS is Linux. Linux is an operating system supporting different technologies for graphics, like: X11, directfb, eglfs, ...
These technologies is what is called "backends" in Qt. -
@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 What did configure say about eglfs? Was it activated?
-
@jsulm I gone through this link,https://doc.qt.io/qt-5.12/embedded-linux.html
please go through the selected paragraph in the below screenshot,
in the mentioned the path i got it(dont no its currect or not just guessed) -
how to proceed next?
-
@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?
-
@jsulm eglfs is not activated,how do i activate it?
-
@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
-
Hi,
Do you have any of these libraries available on your sysroot ?
If not then install the corresponding development package for your target.