could not find qtplatfom plugin eglfs
-
while giving the /home/debian
here is the compile output:
11:13:06: Running steps for project concentriccircles...
11:13:06: Configuration unchanged, skipping qmake step.
11:13:06: Starting: "/usr/bin/make" -j4
make: Nothing to be done for 'first'.
11:13:06: The process "/usr/bin/make" exited normally.
11:13:06: The remote file system has 46 megabytes of free space, going ahead.
11:13:06: Deploy step finished.
11:13:06: Trying to kill "/home/debian/Qt5/concentriccircles" on remote device...
11:13:08: Remote application killed.
11:13:08: Deploy step finished.
11:13:08: sending incremental file list11:13:08:
sent 72 bytes received 12 bytes 168.00 bytes/sec
total size is 1,576,416 speedup is 18,766.8611:13:08: Deploy step finished.
11:13:08: Elapsed time: 00:03.And
Application output is:
11:13:09: Starting /home/debian/Qt5/concentriccircles ...
qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: linuxfb, minimal, offscreen, vnc.
11:13:09: Remote process crashed.
@Asha said in could not find qtplatfom plugin eglfs:
linuxfb, minimal, offscreen, vnc
Looks like you did not build eglfs support when building Qt
-
@Asha said in could not find qtplatfom plugin eglfs:
linuxfb, minimal, offscreen, vnc
Looks like you did not build eglfs support when building Qt
-
@jsulm
but other platforms like linuxfb and vnc both are enabled while building qt,And I exported linuxfb in my device...
one more ,while building I tried with -eglfs option also but got the error like
ERROR: 'eglfs' already enabled...
-
@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. -
@Asha Well, I think I already mentioned this once: you have to know what your device actually uses. Is it X11, eglfs, linuxfb, ...?
-
@Asha Google knows https://en.wikipedia.org/wiki/X_Window_System
-
@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
-
@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? -
@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?
-
@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?