pfc-howtos icon indicating copy to clipboard operation
pfc-howtos copied to clipboard

[doc] HowTo Utilize/build/setup for Cross Compilation using Qt/QtCreator

Open GitHubStefan13 opened this issue 6 years ago • 3 comments

This HowTo explains how to build Qt from source for the embedded Linux Device PFCXXXX. It also explains how to integrate the Sysroot and Toolchain in a similar way to "HowTo_UtilizeEclipseCDT" but also adds the huge Qt Library to the available Libaries.

After the succesful build you will be able to compile/deploy/debug the Application without the need of ptxdist.

PS: Feel free to change/edit the Documentation to you standards if needed.

GitHubStefan13 avatar Oct 07 '19 14:10 GitHubStefan13

Hello Stefan, Your HowTo is missing 1 or 2 important files: The README.md which should explain the how to, look at the other howto for example. The LICENCE file is also important if you have made your own or used other code. I your pdf file you talk about the system tested only for ubuntu 19.04, have you been able to use ubuntu 19.04 with the PFC SDK ? Thanks

Ekristoffe avatar Oct 19 '19 02:10 Ekristoffe

I will update the README.md and the License soon. I can answer your question regarding the system immediately though.

I followed the HowTo on how to build the PFC SDK(Ubuntu 16.04 VM), with that done i have a working SYSROOT in the Platform folder of the ptxdist. I then copied that over to my main machine(UBUNTU 19.04) and build the Qt Version of it. Theoritically aslong as you build your own Qt-Version on your Host-Machine with the buildCross Compile Sysroot(fromthe 16.04VM) you should even be able to get a Cross-Compile Envirornment running for Windows.

I haven't used any Licensed code, so the license will be MIT Edit: Nevermind, the file "qplatformdefs.h" contains a license from qt. it only has one generic inlucde though, so i will rewrite the HowTo to address that the file needs to be copied, instead of including it in the pull request.

GitHubStefan13 avatar Oct 19 '19 10:10 GitHubStefan13

Updated the README and License

GitHubStefan13 avatar Nov 12 '19 08:11 GitHubStefan13