Unsolved could not find qtplatfom plugin eglfs
-
@Asha What do you actually want to use? eglfs? linuxfb? ...?
Adding -eglfs is not going to help as it is already activated, but your Qt build does not support it. -
@jsulm I just want to run one simple application in my device, by using anyone..
-
@Asha Well, I think I already mentioned this once: you have to know what your device actually uses. Is it X11, eglfs, linuxfb, ...?
-
can you please tell me more about X11,or any link..what exactly it will do?
-
@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?