Cross compiling x86_64 to Arm64
-
I use Ubuntu 22.04 x86_64 Qt6.10.0 pc and I want to cross compile to Ubuntu 22.04 Arm64 device
Proje is QGroundControl .
I tried everything but I could not. Anyboyd can help me ?
I do not know lot of cross compiling and that is my first project.
-
Hi,
There's not enough details to even start to help you.
What errors are you getting ?
How did you install Qt ?
How did you install the cross-compiler ?
What parameters did you use ?
Etc. -
Hi,
There's not enough details to even start to help you.
What errors are you getting ?
How did you install Qt ?
How did you install the cross-compiler ?
What parameters did you use ?
Etc.@SGaist said in Cross compiling x86_64 to Arm64:
What errors are you getting ?
I did not take a error because I could not it
@SGaist said in Cross compiling x86_64 to Arm64:
How did you install Qt ?
online instalerr and setup file in that proje sh file
@SGaist said in Cross compiling x86_64 to Arm64:
How did you install the cross-compiler ?
I could not find it. That is the problem
-
I don't know a lot of cross compiling either, but I know that you need to cross compile Qt first, then Qt projects.
You can start from reading https://doc.qt.io/qt-6/configure-linux-device.html and https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi -
@SGaist said in Cross compiling x86_64 to Arm64:
What errors are you getting ?
I did not take a error because I could not it
@SGaist said in Cross compiling x86_64 to Arm64:
How did you install Qt ?
online instalerr and setup file in that proje sh file
@SGaist said in Cross compiling x86_64 to Arm64:
How did you install the cross-compiler ?
I could not find it. That is the problem
@Joe-von-Habsburg
Taking into account the good pointers @Bonnie provided, you really should provide information about what you want to achieve.Which device do you want to target ?
What are its spec ?
Etc.Just stating it's arm based is not enough.