Unsolved you don't seem to have 'make' or 'qmake' in your PATH
-
@jsulm yes,I have X11 on my device(/etc/X11).
Which backend do you want to use?(sorry I am new to this,I am not getting this one..)..
-
@Asha OK, in that case you need to build Qt with X11 support (add -xcb to configure). You probably will have to add some stuff to your sysroot, but run configure with -xcb first and check its output.
-
@jsulm so know can I give like this
./configure -platform linux-g++ -release -device linux-beagleboard-g++ -sysroot /home/beagle/BBB/sysroot -prefix /home/debian/Qt5ForBBB1 -hostprefix ~/Qt5ForBBB1 -device-option CROSS_COMPILE=/home/beagle/BBB/gcc-linaro-6.3.1/bin/arm-linux-gnueabihf- -qtxcb -recheck-all -v
You probably will have to add some stuff to your sysroot, (which stuff I need to add?)..
-
@Asha I think it should be -xcb not -qtxcb. You can check the available parameters calling "./configure -h".
-
@jsulm yes I tried with this -xcb,the result is
..
-
Hi..
I am getting like above screenshots,
xcb is enabled,but xkbcommon and libs.xcb is failed....and EGL on X11 .....no
how to proceed next...
-
@Asha Please check the configure log or add -v parameter to your configure call and see what exactly happens when configures checks for xcb. You probably do not have needed header files and libs in your sysroot.
-
@jsulm Ok..
please go through the config.log
.....
If I want to use Linuxfb backend,than how to use it because this is enabled..
-
@Asha said in you don't seem to have 'make' or 'qmake' in your PATH:
If I want to use Linuxfb backend
I don't think you can use it as long as X11 is running, so first you need to stop it.
Then start your executable with "-platform linuxfb" parameter.
See https://doc.qt.io/qt-5/embedded-linux.html -
@jsulm Ok..
Any idea about config.log file...
-
@Asha said in you don't seem to have 'make' or 'qmake' in your PATH:
Any idea about config.log file...
Well, it just tells you that some things will not be built, but as long as you don't need them you can ignore that.
-
@jsulm If i ignore this things,then what is the problem,why I am getting could not find the qt platform plugin "eglfs" in "".....
How to see which backend is running on my device?...
-
The error is:
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.
Remote process crashed..
"no Qt platform plugin could be initialized"
how to initialize Qt platform pluginReinstalling the application may fix this problem..
not getting what to reinstall,and how? -
@Asha said in you don't seem to have 'make' or 'qmake' in your PATH:
How to see which backend is running on my device?
You should know what device you have and what is running on it. You can ask the vendor.
"If i ignore this things,then what is the problem,why I am getting could not find the qt platform plugin "eglfs" in ""....." - these errors are NOT related to eglfs.
If eglfs is disabled by configure then enable eglfs when calling configure and check the configure log and see what errors are there related to eglfs. You're probably missing header files and/or libraries in your sysroot.
-
You're probably missing header files and/or libraries in your sysroot(which headers and libraries are required please let me know)
while deploying the kit,for sysroot
I am specifing the path:/home/beagle/BBB/sysroot
in this sysroot i have again four directories
home lib usr sbinwhich one i need to select for sysroot.
or I need to give the path below
/home/beagle/BBB/sysroot/home/debian/Qt5ForBBB1
-
@Asha said in you don't seem to have 'make' or 'qmake' in your PATH:
which one i need to select for sysroot.
It is not about specifying the sysroot, you're already doing this.
The actual question is: does your sysroot contain everything needed?
I already suggested to check the configure log file to see whether there are any errors when configure tests for eglfs functionality... -
@jsulm
I checked configure log file,the issues with eglfs shown below attachement, please go through thisplease let me know ,if any error is there..
-
@Asha As you can see EGL libraries were not found. I guess you're missing them in your sysroot.
-
This post is deleted! -
@jsulm Good Morning
while giving this command,
arm-linux-gnueabihf-readlf -d libQt5Gui.soThe result is:
Dynamic section at offset 0x3920e8 contains 37 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libQt5Core.so.5]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000e (SONAME) Library soname: [libQt5Gui.so.5]
0x0000001d (RUNPATH) Library runpath: [$ORIGIN]
0x0000000c (INIT) 0x8b48c
0x0000000d (FINI) 0x34a304
0x00000019 (INIT_ARRAY) 0x39b158
0x0000001b (INIT_ARRAYSZ) 44 (bytes)
0x0000001a (FINI_ARRAY) 0x39b184
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0xf8
0x00000005 (STRTAB) 0x28610
0x00000006 (SYMTAB) 0x9b80
0x0000000a (STRSZ) 308470 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000003 (PLTGOT) 0x3a2230
0x00000002 (PLTRELSZ) 31160 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x83ad4
0x00000011 (REL) 0x77bb4
0x00000012 (RELSZ) 48928 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffc (VERDEF) 0x77858
0x6ffffffd (VERDEFNUM) 17
0x0000001e (FLAGS) ORIGIN
0x6ffffffb (FLAGS_1) Flags: ORIGIN
0x6ffffffe (VERNEED) 0x77aa4
0x6fffffff (VERNEEDNUM) 6
0x6ffffff0 (VERSYM) 0x73b06
0x6ffffffa (RELCOUNT) 2428So,how to overcome by this missing LibEGL.so library....