QT Build for Raspberry 3B on Windows 10
-
wrote on 22 Nov 2021, 18:46 last edited by
Hi,
I made a GUI on my Windows 10 pc which communicates to my main programm through TCP IP and it works perfect.
But now I want to run my GUI on a RaspberryPi. The problem -> I have no idea how to build the QT Application for Raspi on my Windows PC.
I´m always programming/working on windows so I have no real experience with Linux.
In VisualStudio there is an option to add a Raspi to the Project (for example a C++ Console application) to cross compile it really easy.
Is there a option in QT-Creator to do the same?I hope you guys can help me.
Best regards,
Leon -
Hi,
I made a GUI on my Windows 10 pc which communicates to my main programm through TCP IP and it works perfect.
But now I want to run my GUI on a RaspberryPi. The problem -> I have no idea how to build the QT Application for Raspi on my Windows PC.
I´m always programming/working on windows so I have no real experience with Linux.
In VisualStudio there is an option to add a Raspi to the Project (for example a C++ Console application) to cross compile it really easy.
Is there a option in QT-Creator to do the same?I hope you guys can help me.
Best regards,
Leon@ElPadre said in QT Build for Raspberry 3B on Windows 10:
I have no idea how to build the QT Application for Raspi on my Windows PC
It would be easier to build your application directly on RaspberryPi.
Simply install needed Qt packages there using "app install" and build your app.
Doing cross compilation on Windows is difficult to set up (it is easier to cross compile from Linux to Linux).
I have no experience with that, can't help. -
wrote on 25 Nov 2021, 06:54 last edited by
Hi, thanks for your answer! Ok that sounds good but which files of the project do i have to copy to build them on the raspi? And won't be there any problems with missing libs because I made the project on windows?
-
Hi, thanks for your answer! Ok that sounds good but which files of the project do i have to copy to build them on the raspi? And won't be there any problems with missing libs because I made the project on windows?
@ElPadre said in QT Build for Raspberry 3B on Windows 10:
but which files of the project do i have to copy to build them on the raspi?
Well, all the files belonging to your project (except *.pro.user file).
"And won't be there any problems with missing libs because I made the project on windows?" - no, because you will rebuild your app. You, of course, need to install needed libs and their dev packages on RaspberryPi.
-
wrote on 25 Nov 2021, 07:30 last edited by
Oh wow ok I will try it.
I will tell you if it workes.
1/5