Qt Creator for Orange Pi One
-
Hello my name is Kutlu. I have Orange Pi One and I want to develop a 'kiosk' style application with this development board. Also, Armbian is currently installed on the Orange Pi One.
Using QT5 on this card is a bit difficult because you can't move as fast as you can on windows. At this point, can I run the applications that I am working on QT Creator, which I will download to windows, on Orange Pi One?
How can I send files from windows to Orange Pi One (ie Armbian) if I can get it to work?
Any help appreciated,
Kutlu Yigitturk
-
Hi and welcome to devnet,
If memory serves well, the Orange Pi is a clone of the RaspberryPi so you should be able to leverage the tutorials you find for it.
Note that it is usually way easier to do cross-compilation from Linux than from Windows.
-
The main thing I want to ask is, can I run the Interface or application I developed on QT Creator in Windows operating system in QT Creator running on Linux operating system? How is the file sending if I can run it?
Sincerely,
-
Hi
A compiler generates an exe for a given platform. So on Windows it will make an exe that runs only on windows.
It's possible to install a so-called cross compiler that can generate an exe for Linux or other platforms and Creator can be set up to transfer this exe to the board and run it.However, setting up cross-compiling is often not that easy and with windows, it can be hard to get working.
Many of us use a Linux virtual machine to generate arm exe files as that is often better supported.
https://www.ics.com/blog/building-qt-5-raspberry-pi#.U0ubso_7sYy
ps. Its also possible to install QT + Creator on the board and directly do it but the compile speed is not great for large projects.
-
@kutluyigitturk you might want to consider different approach (I found cross compilation a bit of an overkill in terms of setup): mapping folder over samba or nfs to your regular machine, editing files there.
Then compilation on the target host via ssh/Remote Desktop, running and testing too.
It might sound inconvenient at first but (for me) was faster to setup than actual cross compilation env for RasPi.