Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How do I build a Ubuntu executable on macOS with Qt Creator?



  • My goal is to be able to select Build from Qt Creator and have an executable built for Ubuntu.

    I believe this will need to involve Docker which can host the tool chain necessary to compile and link the code.

    I have a test project qt_build_docker to show the progress I have made so far.

    I can build a docker container and manually call qmake and make to build the executable. The instructions for how I do this are at With Docker

    However, I am not sure how I can configure a Kit to make use of the toolchain within the container.

    Is this possible? If so, how?


Log in to reply