Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
you don't seem to have 'make' or 'qmake' in your PATH
after configuring..I build the qt ..
while giving make -j4..
The result is
Is there any issues..or its correct..can I install it..
Is there any issues
Do you see any? I don't.
So just do:
I installed, the result is
Is it correct,can I proceed next..
I cross compiled qt..
After this i installed qt 5.13.1..
here is the kit configuration
Here is the qtversion selection
Here is the compiler selection
here is the gdb selection
After setting this all, running a simple application..
where I am getting the error like this
I am not getting ,what is the mistake please suggest me how to solve this...
Any suggestions please...
@Asha You can't execute your cross compiled app on your host, run it on your device.
@jsulm sorry I am not understood...I am connecting my device on devices option...running a application on qt..
run it on device means,where?
@jsulm can you elaborate it please...
for that error..
I am not enabled the eglfs while configuring qt5..
while configuring I mentioned -no-egl and -no-eglfs is that any issues?...(I thought this is is issue ,while configuring i have to give -qt-egl ang -qt-eglfs)
If this might be the issue ,then how to overcome with this...
when I tried configuring with -qt-egl and -qt-eglfs ,getting the error
ERROR: Invalid value given for boolean command line option egl
ERROR: Invalid value given for boolean command line option eglfs
I want to know how to run it on my device..
I want to know how to run it on my device
You can manually copy it to your device and start there.
Back to QtCreator: does it deploy your app to your device and start it there?
Did you copy your cross compile Qt to the device or do you deploy your app to the device with all needed Qt libraries?
The error message in QtCreator means that you're trying to start your app using eglfs as backend but the eglfs plugin was not found. Did you build it?
"while configuring I mentioned -no-egl and -no-eglfs is that any issues?" - which backend do you want to use? Do you use X11 on your device or something else?
And please be more patient: people here are volinteers helping in their own time and they do not live all in the same time-zone as you.
Yes I copied,using this command
scp -r Qt5ForBBB1 email@example.com:Qt5ForBBB1...
After this I followed,this steps(Qt5ForBBB, replaced with Qt5ForBBB1)
here is the platforms
here is the compiled qt selection
"The error message in QtCreator means that you're trying to start your app using eglfs as backend but the eglfs plugin was not found. Did you build it?"
while building I am not mentioned...
@Asha Which backend do you want to use? Do you have X11 on your device?
@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
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.
please go through the config.log
If I want to use Linuxfb backend,than how to use it because this is enabled..
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.
Any idea about config.log file...
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 plugin
Reinstalling the application may fix this problem..
not getting what to reinstall,and how?
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:
in this sysroot i have again four directories
home lib usr sbin
which one i need to select for sysroot.
or I need to give the path below
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...
I checked configure log file,the issues with eglfs shown below attachement, please go through this
please 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.so
The 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) 2428
So,how to overcome by this missing LibEGL.so library....
I have The below libraries in this path /usr/lib/x86_64-linux-gnu
How to use this patchelf for solving this issue,
can i use symlink to solve this issue..
sudo ln -s /usr/lib/x86_64-linux-gnu/libEGL.so /home/beagle/Qt5ForBBB1/lib
In my .pro file ,i included
tarhet.path = $$[Qt5ForBBB1]/bin
INSTALLS += target
After this ,I run the application
know getting the error,
rsync error:some files/attrs were not transferred(see previous errors)(code 23) at main.c(1207) [sender=3.1.3]
rsync failed with exit code 23.
Deploy step failed.
Error while building/deploying project bbb(kit : BBB)
when executing step "deploy files via rsync"
what it means,
I am trying to synchronize with this command
rsync -avz firstname.lastname@example.org:/usr sysroot
now also getting same some files and attrs were not transferred...
@jsulm sorry,but I want to know what exactly that x11..
because i understood x11 is for windowing system..(shall i ask more about x11 which you talking)
but i am using the
operating system: debian(linux)
Qtcreator(building to support beagleboneboard)...