# Upgrade to Qt 5.15.2

**URL:** <https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366>\
**Category:** Development\
**Tags:** improvement\
**Created:** [August 26, 2021, 2:52pm UTC](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366 "2021-08-26T14:52:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbordignon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fbordignon/32/5269_2.png) [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Post date:** [August 26, 2021, 2:52pm UTC](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366/1 "2021-08-26T14:52:46Z")

</div>

Hello everyone, I would like to suggest the upgrade of the Qt version to Qt 5.15.2, as there is a minor bug that is bothering me profoundly. (ok a bit of exaggeration here, but it is annoying)  
Buttons with padding show a visual feedback of a click on the padding area but does not emit the clicked signal:  
[https://bugreports.qt.io/browse/QTBUG-86587](https://bugreports.qt.io/browse/QTBUG-86587)  
[https://bugreports.qt.io/browse/QTBUG-88276](https://bugreports.qt.io/browse/QTBUG-88276)

I’ve successfully built and used Slicer with Qt 5.15.2 where the issue is solved. 5.15.2 is the latest open source version available. Do we have any reasons not to upgrade?

---

<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:** [August 26, 2021, 3:27pm UTC](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366/2 "2021-08-26T15:27:34Z")

</div>

We already use 5.15.2 on macOS due to some crippling issues, but until now we haven’t heard about any serious problems with 5.15.1 on the two other platforms. I guess @Sam_Horvath can take care of this. You may [submit an issue](https://github.com/Slicer/Slicer/issues) about this to keep track of its status.

---

<div class="post-metadata">

**Author:** ![fbordignon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fbordignon/32/5269_2.png) [@fbordignon](https://discourse.slicer.org/u/fbordignon)\
**Post date:** [August 26, 2021, 4:45pm UTC](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366/3 "2021-08-26T16:45:41Z")

</div>

Ok, submitted as a feature request.

> <https://github.com/Slicer/Slicer/issues/5825>
>
> I'm always frustrated when I click a button on its padding area, a visual feedba…ck of a click happens, but the clicked() signal is not emitted. This is a know Qt 5.15.1 bug:
> 
> https://bugreports.qt.io/browse/QTBUG-86587
> https://bugreports.qt.io/browse/QTBUG-88276
> 
> I would like to see an upgrade of Slicer Qt version to 5.15.2
> 
> I've successfully compiled Slicer 4.11.20210226 with Qt 5.15.2 only by properly changing the Qt5\_DIR CMAKE variable on windows.
> There seems to be no problems with the interface or anything else.
> 
> Originally posted on https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366

---

<div class="post-metadata">

**Author:** ![ungi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ungi/32/78573_2.png) [@ungi](https://discourse.slicer.org/u/ungi)\
**Post date:** [August 28, 2021, 1:38pm UTC](https://discourse.slicer.org/t/upgrade-to-qt-5-15-2/19366/4 "2021-08-28T13:38:15Z")

</div>

Thank you for reporting this! This issue has been freaking me out for months but never had the time to investigate the cause. I’m glad to hear there is an easy solution.
