# Support --designer launcher argument for Qt5 build

**URL:** <https://discourse.slicer.org/t/support-designer-launcher-argument-for-qt5-build/1917>\
**Category:** Development\
**Tags:** qt\
**Created:** [January 23, 2018, 5:39pm UTC](https://discourse.slicer.org/t/support-designer-launcher-argument-for-qt5-build/1917 "2018-01-23T17:39:12Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [January 23, 2018, 5:39pm UTC](https://discourse.slicer.org/t/support-designer-launcher-argument-for-qt5-build/1917/1 "2018-01-23T17:39:12Z")

</div>

The --designer launcher switch doesn’t work with Qt5 builds. It seems that it’s because the variable checked at this line is empty:

> <https://github.com/Slicer/Slicer/blob/master/CMake/SlicerMacroBuildApplication.cmake#L543>

It would be great if this variable was set for Qt5 automatically. Any ideas how to make that happen?

---

<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:** [January 24, 2018, 12:03am UTC](https://discourse.slicer.org/t/support-designer-launcher-argument-for-qt5-build/1917/2 "2018-01-24T00:03:26Z")

</div>

> [@Qt5 build : a few hiccups](https://discourse.slicer.org/t/qt5-build-a-few-hiccups/952/29):
>
> Any ideas how to make that happen?

Thanks to a PR of @adamrankin and inputs from @msmolens and @ihnorton , this is now fixed by [26856](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26856) and [26859](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26859)

---

<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:** [December 6, 2018, 5:57am UTC](https://discourse.slicer.org/t/support-designer-launcher-argument-for-qt5-build/1917/3 "2018-12-06T05:57:20Z")

</div>

Commit [r27608](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=27608) fixes the lookup of the designer executable ensuring the one associated with the Qt5 version being is used is found.
