We are trying to use the supplied qt5-wayland container for compiling and running our Qt app. What I don’t understand: There are no Qt header files, qmake, moc, pic binaries are also not there. How can one use this container to compile a Qt app? I have seen that there is the Visual studio code extension. However, we would like to compile on the command line. Is this possible?
You can compile your application using CLI on your host PC via Arm emulation or cross-compilation, and put the executable in a Docker image via a Dockerfile. We’d recommend you, however, to use the extension if possible, as it abstracts some procedures of the general build process in order to help customers in development. The extension goes from generating sample containers, docker-compose files and it can even push containers to the docker hub directly.
Thanks for your answer. I understand. Would it not be useful if Toradex would also provide a container to build the applications? Such a container could also be used in automated build pipelines, e.g. Gitlab