06-03-2022, 07:29 AM
(This post was last modified: 03-27-2024, 11:35 AM by presire.
Edit Reason: Because the information was out of date
)
I'm using Qt QML and C++ to develop Cross-Compile between PC(Linux) and PinePhone(Mobian, Manjaro ARM).
Setting up an environment for Cross-Compiling development with Qt, can be done in the same way as with Raspberry Pi.
Note that, PinePhone is an "AArch64" architecture. For example, Raspberry Pi 3B is "ARM32 GNU EABIHF".
I have published instructions for building a Qt Cross-Compilation development environment for the PinePhone on my Github.
Qt 5 : https://github.com/presire/How_to_create..._PinePhone
Qt 6 : https://github.com/presire/Qt6_CrossComp..._PinePhone
Additionally, I'm also publishing instructions on how to build a GCC toolchain to Cross-Compile.
How to make GCC Toolchain : https://github.com/presire/How_to_create..._PinePhone
If building a GCC tool chain is too cumbersome, you can also use Linaro's GCC Toolchain.
https://snapshots.linaro.org/gnu-toolchain/
Manjaro ARM (Latest) : https://snapshots.linaro.org/gnu-toolchain/13.0-2022.11-1/aarch64-linux-gnu/
Mobian Bookworm : https://snapshots.linaro.org/gnu-toolcha...linux-gnu/
Setting up an environment for Cross-Compiling development with Qt, can be done in the same way as with Raspberry Pi.
Note that, PinePhone is an "AArch64" architecture. For example, Raspberry Pi 3B is "ARM32 GNU EABIHF".
I have published instructions for building a Qt Cross-Compilation development environment for the PinePhone on my Github.
Qt 5 : https://github.com/presire/How_to_create..._PinePhone
Qt 6 : https://github.com/presire/Qt6_CrossComp..._PinePhone
Additionally, I'm also publishing instructions on how to build a GCC toolchain to Cross-Compile.
How to make GCC Toolchain : https://github.com/presire/How_to_create..._PinePhone
If building a GCC tool chain is too cumbersome, you can also use Linaro's GCC Toolchain.
https://snapshots.linaro.org/gnu-toolchain/
Manjaro ARM (Latest) : https://snapshots.linaro.org/gnu-toolchain/13.0-2022.11-1/aarch64-linux-gnu/
Mobian Bookworm : https://snapshots.linaro.org/gnu-toolcha...linux-gnu/