# Error when compiling QGC source code

**URL:** <https://discuss.px4.io/t/error-when-compiling-qgc-source-code/6965>\
**Category:** QGroundControl\
**Created:** [June 22, 2018, 2:17pm UTC](https://discuss.px4.io/t/error-when-compiling-qgc-source-code/6965 "2018-06-22T14:17:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliver](https://discuss.px4.io/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@oliver](https://discuss.px4.io/u/oliver)\
**Post date:** [June 22, 2018, 2:17pm UTC](https://discuss.px4.io/t/error-when-compiling-qgc-source-code/6965/1 "2018-06-22T14:17:41Z")

</div>

Hi everyone…  
I am having hard time compiling the QGC source code using the QT creator …  
When i build the project i get this error:  
"unsupported windows toolchain only visual studio 2010,2012, and 2013 are supported.  
i am using the QT 5.11.0 MinGW 32 bit compiler  
"When executing step “qmake”.  
I have visual studio 2013 installed on my win 10.  
So what is wrong with the build?And how should i fix it?

---

<div class="post-metadata">

**Author:** ![DonLakeFlyer](https://discuss.px4.io/user_avatar/discuss.px4.io/donlakeflyer/32/3036_2.png) [@DonLakeFlyer](https://discuss.px4.io/u/DonLakeFlyer)\
**Post date:** [June 22, 2018, 6:41pm UTC](https://discuss.px4.io/t/error-when-compiling-qgc-source-code/6965/2 "2018-06-22T18:41:47Z")

</div>

QGC builds with vs 2015 and the vs 2015 version of 5.11

---

<div class="post-metadata">

**Author:** ![oliver](https://discuss.px4.io/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@oliver](https://discuss.px4.io/u/oliver)\
**Post date:** [July 17, 2018, 1:49pm UTC](https://discuss.px4.io/t/error-when-compiling-qgc-source-code/6965/3 "2018-07-17T13:49:22Z")

</div>

Hi again…  
I am still facing the same problem when compiling the source code.  
I am using now Qt 5.9.6 with msvc 2015 64 bit.  
I have no luck compiling the code.  
i am getting error shown in the figure.

 ![](https://discuss.px4.io/uploads/default/original/2X/5/5587129d91d060e6abc0cb5d85a4308c63faf6f9.png)

So what should i do?can you please give me a step by step on what should i do? and what the final result of compiling the code should be?  
And thank you.
