UvinduW / Cross-Compiling-Qt-for-Raspberry-Pi-4

A guide to cross-compile Qt 5.15.0 for the Raspberry Pi 4 Model B
95 stars 36 forks source link

Configure Qt Build #16

Open Prashant-Aviskaran opened 2 years ago

Prashant-Aviskaran commented 2 years ago

I got an error in configure Qt build line the error is :- Maybe you forgot to setup the environment?

Juliandebruin commented 1 year ago

I have the same problem is there a solution yet?

Prashant-Aviskaran commented 1 year ago

Try to create exeGet Outlook for Android

Juliandebruin commented 1 year ago

How can i create an exe and from what should i create an .exe. Currently i am using this command in ubuntu 22.04:

../qt-everywhere-src-5.15.2/configure -release -opengl es2 -eglfs -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=~/Documents/Qt-CrossCompile-RaspberryPi/raspberrypi4/tools/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/Documents/Qt-CrossCompile-RaspberryPi/raspberrypi4/sysroot -prefix /usr/local/qt5.15 -extprefix ~/Documents/Qt-CrossCompile-RaspberryPi/raspberrypi4/qt5.15 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck

Juliandebruin commented 1 year ago

Currently I get this error:

but the files which are missing exists at: sysroot/usr/lib/aarch64-linux-gnu

image

lpy137510 commented 2 months ago

Currently I get this error:

but the files which are missing exists at: sysroot/usr/lib/aarch64-linux-gnu

image

Hi, how did you fix it? I take same problem.

wombat02 commented 1 month ago

Currently I get this error: but the files which are missing exists at: sysroot/usr/lib/aarch64-linux-gnu image

Hi, how did you fix it? I take same problem.

Any progress looking for a fix?

Running Ubuntu 20.04 in wsl2

I have found many issues simmilar to this and potential solution may involve creating a symlink to the files that exist within the raspberry pi sysroot

I haven't been able to find "-lm" however