Compiling Qt application for windows in runner

is it possible to build Qt applications on windows and MacOS with CircleCI ?
We use the Qt framework and are interested in using CircleCi but we need to know if we can compile our Qt applications in Circle CI runners on Windows and MacOS.
Thanks for your answers.
Best regards

Yep! I just set up a Qt build environment for Windows and MacOS.

Here’s what I ended up doing within the pipeline:

  • Check out a submodule containing all the dependencies (including Qt and a Visual Studio installer for Windows)
  • Install the dependencies
  • Generate the .qt-license with secure environment variables
  • Build the app
  • Sign the app

The toughest bits for me were getting VS2015 to install in the executor (still takes ~20 minutes) and getting signing to work, particularly on MacOS.