# Which Qt should I install?

**URL:** https://discourse.slicer.org/t/which-qt-should-i-install/1480
**Category:** Development
**Tags:** build, qt
**Created:** [November 17, 2017, 10:19am UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480 "2017-11-17T10:19:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)
#### Post date: [November 17, 2017, 10:19am UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480/1 "2017-11-17T10:19:05Z")

</div>

[This link](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#Mac_OSX_10.12_.28Sierra.29) says Qt4, but I think Slicer now uses Qt5. Should I blindly follow the build instructions of that wiki or try installing Qt5?

I’m on macOS Sierra 10.12.6.

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [November 17, 2017, 1:28pm UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480/2 "2017-11-17T13:28:46Z")

</div>

Hi Fernando! Transition to Qt5 is underway, but the official is still 4.8.7, and probably will be for a few more months, as not everything works yet with Qt5. If you feel advanterous, you can go ahead and build with Qt 5.9.1 😉

---

<div class="post-metadata">

### Author: ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)
#### Post date: [November 17, 2017, 1:47pm UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480/3 "2017-11-17T13:47:27Z")

</div>

Hi Csaba, thanks! I’ll let you know of my adventures.

---

<div class="post-metadata">

### Author: ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)
#### Post date: [March 2, 2018, 3:31pm UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480/4 "2018-03-02T15:31:37Z")

</div>

I had the same question, and needed to build with Qt5 in an attempt to reproduce a failure in the nightly.

It was not easy to find instructions how to build Slicer against Qt5 (wiki build instructions refer to Qt4), even though Qt5 is used by the dashboard.

After some searching I figured I should follow steps in this page: [https://www.slicer.org/wiki/Documentation/Labs/Qt5-and-VTK8](https://www.slicer.org/wiki/Documentation/Labs/Qt5-and-VTK8), which is what I am trying now.

Just in case someone else attempts to build with Qt5.

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [March 2, 2018, 3:48pm UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480/5 "2018-03-02T15:48:45Z")

</div>

If you can, the latest Qt 5.10. This is was we used for testing.

That said, we there is no hard requirements … Slicer should compile with Qt 5.6 and above.

> to find instructions how to build Slicer against Qt5

We didn’t get a chance to update the wiki. Help from everyone is welcome 😄

---

<div class="post-metadata">

### Author: ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)
#### Post date: [March 2, 2018, 4:09pm UTC](https://discourse.slicer.org/t/which-qt-should-i-install/1480/6 "2018-03-02T16:09:24Z")

</div>

> [@jcfr](#):
>
> We didn’t get a chance to update the wiki. Help from everyone is welcome 😄

I [added the pointer](https://www.slicer.org/w/index.php?title=Documentation%2FNightly%2FDevelopers%2FBuild_Instructions%2FPrerequisites&type=revision&diff=58704&oldid=57518) to the Labs page from the build instructions wiki page. Downloading Qt5 and configuring as suggested there is working so far for me on Ubuntu 16.
