# Building Slicer against Qt5, Win64

**URL:** <https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565>\
**Category:** Development\
**Tags:** build\
**Created:** [April 11, 2018, 8:13pm UTC](https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565 "2018-04-11T20:13:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicole\_Aucoin](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nicole\_Aucoin](https://discourse.slicer.org/u/Nicole_Aucoin)\
**Post date:** [April 11, 2018, 8:13pm UTC](https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565/1 "2018-04-11T20:13:17Z")

</div>

I was looking at making a fresh build of Slicer against Qt 5, on a 64 bit Windows machine, and was directed from  
[https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build\_Instructions/Prerequisites/Qt#Windows](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions/Prerequisites/Qt#Windows)  
to the one liner build commands here:

> **[GitHub - jcfr/qt-easy-build at 5.10.0](https://github.com/jcfr/qt-easy-build/tree/5.10.0#readme)**
>
> 5.10.0

But all the 5.x branches there haven’t had the windows build commands updated in the readme files - they all have 4.8.7 still in the one liners for Windows (Linux/Mac are updated with the correct version number).

When I tried pointing the one liner to the 5.10.0/windows\_build\_qt.ps1 file, it triggered a download of Qt 4.8.7.

There’s a Qt 5.7.1 package mirrored on Midas but no 5.10.0. Would you recommend I use 5.7.1 for now?

Nicole

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 11, 2018, 8:27pm UTC](https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565/2 "2018-04-11T20:27:26Z")

</div>

On Windows, I use Qt5 binaries that I download from [https://www.qt.io/](https://www.qt.io/) and it works, but it would be good to know if there is any advantage of building my own Qt. I guess @jcfr will be able to answer this when he gets back from vacation.

---

<div class="post-metadata">

**Author:** ![Nicole\_Aucoin](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nicole\_Aucoin](https://discourse.slicer.org/u/Nicole_Aucoin)\
**Post date:** [April 11, 2018, 8:42pm UTC](https://discourse.slicer.org/t/building-slicer-against-qt5-win64/2565/3 "2018-04-11T20:42:46Z")

</div>

Good to know that the binaries work, I’ll use them for now.
