# Compiling Qt application for windows in runner

**URL:** <https://discuss.circleci.com/t/compiling-qt-application-for-windows-in-runner/34750>\
**Category:** Build Environment\
**Created:** [March 2, 2020, 6:51am UTC](https://discuss.circleci.com/t/compiling-qt-application-for-windows-in-runner/34750 "2020-03-02T06:51:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marco](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@marco](https://discuss.circleci.com/u/marco)\
**Post date:** [March 2, 2020, 6:51am UTC](https://discuss.circleci.com/t/compiling-qt-application-for-windows-in-runner/34750/1 "2020-03-02T06:51:39Z")

</div>

Hello,  
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  
Marco

---

<div class="post-metadata">

**Author:** ![Kody94](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kody94](https://discuss.circleci.com/u/Kody94)\
**Post date:** [March 3, 2020, 9:09pm UTC](https://discuss.circleci.com/t/compiling-qt-application-for-windows-in-runner/34750/2 "2020-03-03T21:09:15Z")

</div>

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.
