Create a runable app for armv8
-
Hallo,
I just download and installed the newest Qt open source on Windows 10. The newest version of Qt is 6.2.3 but after installation i get a qt creater 6.0.2 (Community).
I'm trying to write a GUI app from Windows/Ubuntu for a Single-Board-PC with arch aarch64.
I have tryed to create a simple "Hello World" GUI app and it works in debug mode. After I ckicked the "Release" button, it does create a .exe file but it gives me lots of Errors such as "Qt6Core.dll was not found". I googled it and people says I have to install some dependency such as qt4-x11 and so on.
So my questions:
- Can Qt create a fat-release which contains everything the app needs, and can be executed (on aarch64) without any dependency?
- All the tutorials are using Qt5 and they installed some dependency on the deploy PC like qt5-qmake qt5-x11 and so on. Should I insdtall qt6-qmake qt6-x11 for Qt 6.2.3?
Thanks
-
Hi and welcome to devnet,
You should first take the time to learn about cross-compilation.
Also, which OS is going to run on your target device ? -
Hi,
the device is a banana pi, and the os is a ubuntu.
I went through some cross compilation videos and some of them are using qt5 and even qt4. The dependencys they installed includes qt4-xxxx and sometimes qt5-xxxx. For example qt4-x11 and qt5-qmake
If I want to use the newest qt 6.2.3, should I installed qt6-xxxx or I can just install qt5-xxxx? Or I should simply downgrade Qt to 5.x.x?
I just need some guide to find a good way to learn Qt.
Thanks
-
Qt 5 is still more widely used at this time so you will find more information for it.
Qt 4 has reached end of life a long time ago, so don't start with it.
If memory serves well, the banana pi is close to the Raspberry Pi so this guide might be of interest. Note that is have not tested it.