How to copy cross-compiled Qt binaries from one computer to another
-
Hi,
I am trying qt with beagleboneboard and I followed your document,
step by step,
After./configure(step 10),the result is
Step 11,make -j4 The result is :
Step 12:make install, The result is
Afer make installation I got the ~/BBB/sysroot/home/debian/Qt5ForBBB directory also,
I downloaded the fonts and copied those on to Qt5ForBBB/lib/fonts, and finished with step 14 also,
but I am not getting the qtcreator window,why I am not getting qt,please go through the screenshots and let me know if any mistakes is there,
as you showed on step 15,
How to launch the qt after step 14,please guide me...
Thankyou..
-
@asha said in How to copy cross-compiled Qt binaries from one computer to another:
but I am not getting the qtcreator window
What do you mean by that?
There is no need to cross compile QtCreator for the device unless you want to use it on your device. Simply install QtCreator via installer on your Ubuntu machine and create a Kit there with your cross compiled Qt. -
@asha In your last screenshot, you can see udev errors. Apparently even after installing libudev on Beaglebone black and eventually copying it in sysroot doesn't solve the problem either. But a workaround is to make qmake look for udev in runtime rather than at compile time. The discussion and how-to is described in this thread here. You can follow it for current version of Qt as well. Let me know how the results come out for you.
-
@Asha said in How to copy cross-compiled Qt binaries from one computer to another:
while getting this can I processed next?
No. Install python in your host PC and repeat the step. Only when it succeeds you can go on.
-
Thankyou for the replay,
I installed python via
sudo apt-get install python3
when I am given the command like
python3
getting result Python 3.6.8
but after this,, executing the ./sysroot-relativelinks.py sysroot but getting the same result, No such file or directory....
-
Hi,
I seen where python3 is installed with the following command
which python3
the output is
/usr/bin/python3so in sysroot-relativelinks.py file I edited the first line
#!/usr/bin/env python to #!/usr/bin/python3
After this again I executed the sysroot-relativelinks.py
now it is executed...what I did is it correct?...Thankyou...
-
@Asha You are supposed to have python2 (not python3) package. Ubuntu should automatically install python2 packages when you execute
sudo apt install python
.
Anyways for such a small script, I don't think its gonna make a difference but please remeber python package is python2 in Ubuntu repos and python3 is well python3 itself. -
Hi,
Some suggested me ,to install build-essential package,so I installed..
After that tried configure,The output is
...
So while getting this Exec format error,I gone through some of websites, installed
sudo apt-get install binftm-support qemu qemu-user-static
After this tried configure once again,The result is :
so now getting,
/lib/ld-linux-armhf.so.3: No such file or directory...whats going wrong..how do I solve this..