# Python qt library is missing from today's mac nightly

**URL:** https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072
**Category:** Development
**Created:** [February 12, 2018, 6:11pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072 "2018-02-12T18:11:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 12, 2018, 6:11pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/1 "2018-02-12T18:11:05Z")

</div>

The 2018-02-11 mac nightly won’t start for me because it’s missing the PythonQT library.

```auto
  Library not loaded: @rpath/lib/Slicer-4.9/libPythonQt.dylib
  Referenced from: /private/var/folders/*/Slicer.app/Contents/MacOS/Slicer
  Reason: image not found

```

But if I manually copy in an older version of that file (from the 2018-02-07 build) it works.

Oddly today’s nightly windows version does have a correct pythonqt library and works so there must be something mac-specific about why this is missing.

The only thing I can think of is that I [updated PythonQT and CTK](https://github.com/Slicer/Slicer/commit/83e1a22e56ab1c97d9ac6c6a6e545e2b6a7de1f7) with [this change to the wrapping](https://github.com/commontk/PythonQt/commits/patched-8) but it shouldn’t have changed the packaging and it doesn’t have anything mac specific.

Any other reason why that file would be missing from the nightly?

---

<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: [February 12, 2018, 6:43pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/2 "2018-02-12T18:43:19Z")

</div>

> [@pieper](#):
>
> Any other reason why that file would be missing from the nightly?

Look like this commit is also new: [https://github.com/Slicer/Slicer/commit/83e1a22e56ab1c97d9ac6c6a6e545e2b6a7de1f7](https://github.com/Slicer/Slicer/commit/83e1a22e56ab1c97d9ac6c6a6e545e2b6a7de1f7) and most likely introduced the regression.

---

<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: [February 12, 2018, 6:59pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/3 "2018-02-12T18:59:10Z")

</div>

When I first integrated this patch, I incorrectly assessed its impact. I will be pushing a fix before the end of the day.

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 12, 2018, 7:06pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/4 "2018-02-12T19:06:24Z")

</div>

Thanks @jcfr - let me know if I accidentally broke something with that - it should have been a small change unrelated to packaging.

---

<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: [February 12, 2018, 7:10pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/5 "2018-02-12T19:10:59Z")

</div>

> [@pieper](#):
>
> it should have been a small change unrelated to packaging.

It is a side effect of updating the version. The commit I referenced wasn’t yet used to build the version of PythonQt indirectly integrated into Slicer

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [February 12, 2018, 7:25pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/6 "2018-02-12T19:25:46Z")

</div>

Ah, I see - thanks for clarifying.

---

<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: [February 12, 2018, 9:33pm UTC](https://discourse.slicer.org/t/python-qt-library-is-missing-from-todays-mac-nightly/2072/7 "2018-02-12T21:33:54Z")

</div>

This should be fixed by [r26911](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26911)
