FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
08-05-2024 04:43 PM
Has anyone here ever tried to get Qt applications onto the ctrlX built with VS code?
I just checked that I could try Qt applications locally in vs code. That worked quite well. All you have to do is install Qt and point out where the libraries can be found in CMake. I let mingw_64 compile it.
Since I need aarch64-linux-gnu-g++ as a compiler to build apps, I have to change the compiler somehow. But it's not that easy because you can't set it up when installing Qt.
Has anyone had experience with this and could possibly give me some input?
08-05-2024 05:39 PM - edited 08-05-2024 05:53 PM
08-06-2024 08:23 AM
Thanks for the reply.
I already considered this articel but was unsure because I work on the X3.
08-06-2024 03:19 PM
It sounds like cross architecture compilation is fairly complicated with Qt. I would suggest building on a native ARM device in this case.
As a side note, the method used in the article will provide an embedded graphical server via Ubuntu frame. There is no display output on the X3, so you will need to host a web server.
08-07-2024 08:31 AM
Ultimately, what matters to me is that I got a research assignment. I have an API for this that was partly written using the Qt library. I should now basically find out to what extent it is possible to call the functions from the API in the form of an app. The only clue I currently have is with the cross compiler. But that seems to be much more difficult than initially thought.