# Transition of nightly build to Qt5, VTK9, CMake 3.9 and C++11

**URL:** https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918
**Category:** Development
**Tags:** vtk, qt, nightlybuild
**Created:** [January 24, 2018, 12:32am UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918 "2018-01-24T00:32:03Z")
**Posts on this page:** 9
**Page:** 2

<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 3, 2018, 10:18pm UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/21 "2018-02-03T22:18:10Z")

</div>

Looks like the package was built but couldn’t upload. Getting closer…

From [the log](http://slicer.cdash.org/viewBuildError.php?buildid=1192626):

```auto
CPack: - package: /Volumes/Dashboards/Nightly/Slicer-0-build/Slicer-build/Slicer-4.9.0-2018-02-02-macosx-amd64.dmg generated.

Uploading [Slicer-4.9.0-2018-02-02-macosx-amd64.dmg] on [http://slicer.kitware.com/midas3]
CMake Warning at /Volumes/Dashboards/Nightly/Slicer-0/CMake/MIDASAPILogin.cmake:69 (message):
  Failed to login to MIDAS server

    url: http://slicer.kitware.com/midas3
    email: MIDAS_PACKAGE_EMAIL-NOTDEFINED
    apikey: MIDAS_PACKAGE_API_KEY-NOTDEFINED
    response: {"stat":"fail","message":"Unable to authenticate. Please check credentials.","code":"-150"}
Call Stack (most recent call first):
  /Volumes/Dashboards/Nightly/Slicer-0/CMake/MIDASAPIUploadPackage.cmake:59 (midas_api_login)
  /Volumes/Dashboards/Nightly/Slicer-0/CMake/SlicerPackageAndUploadTarget.cmake:234 (midas_api_upload_package)

CMake Error at /Volumes/Dashboards/Nightly/Slicer-0/CMake/SlicerPackageAndUploadTarget.cmake:250 (message):
  Upload of [Slicer-4.9.0-2018-02-02-macosx-amd64.dmg] failed !

  Check that:

  (1) you have been granted permission to upload

  (2) your email and api key are correct

```

---

<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 4, 2018, 1:03am UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/22 "2018-02-04T01:03:26Z")

</div>

> [@pieper](#):
>
> Looks like the package was built but couldn’t upload. Getting closer…

This was [fixed](https://github.com/Slicer/DashboardScripts/commit/a4b631f3e9b819dbc47acf8a4794cb33b62b8cf0) this morning

I also manually triggered the upload and the latest package can be found here: [http://slicer.kitware.com/midas3/item/341826](http://slicer.kitware.com/midas3/item/341826) (But for some reason, it didn’t show up on the download website … )

This package also includes a fix for the cocoa packaging. See [r26882](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26882)

---

<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 4, 2018, 7:48pm UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/23 "2018-02-04T19:48:00Z")

</div>

Getting even closer… But a new issue:

```auto
$ /Volumes/Slicer-4.9.0-2018-02-03-macosx-amd64/Slicer.app/Contents/MacOS/Slicer 
Could not find QtWebEngineProcess
Abort trap: 6

```

```auto
Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6eb8ce3e __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6eccb150 pthread_kill + 333
2 libsystem_c.dylib 0x00007fff6eae9312 abort + 127
3 org.qt-project.QtCore 0x000000011b8909a9 0x11b87a000 + 92585
4 org.qt-project.QtCore 0x000000011b892239 QMessageLogger::fatal(char const*, ...) const + 233
5 org.qt-project.Qt.QtWebEngineCore	0x000000010e209b57 0x10e197000 + 469847
6 org.qt-project.Qt.QtWebEngineCore	0x000000010e2066c8 0x10e197000 + 456392
7 org.qt-project.Qt.QtWebEngineCore	0x000000010e205d7b 0x10e197000 + 454011
8 org.qt-project.Qt.QtWebEngineCore	0x000000010e1aa0c8 QtWebEngineCore::BrowserContextAdapter::BrowserContextAdapter(QString const&) + 248
9 org.qt-project.QtWebEngineWidgets	0x000000010d2a493c 0x10d290000 + 84284
10 org.qt-project.QtWebEngineWidgets	0x000000010d2a4887 QWebEngineProfile::QWebEngineProfile(QString const&, QObject*) + 71
11 libqSlicerBaseQTGUI.dylib 0x000000010c386d6f qSlicerWebWidgetPrivate::init() + 111
12 libqSlicerBaseQTGUI.dylib 0x000000010c38798a qSlicerWebWidget::qSlicerWebWidget(QWidget*) + 74
13 libqSlicerBaseQTGUI.dylib 0x000000010c38a25f qSlicerExtensionsInstallWidget::qSlicerExtensionsInstallWidget(QWidget*) + 15
14 libqSlicerBaseQTGUI.dylib 0x000000010c399ede Ui_qSlicerExtensionsManagerWidget::setupUi(QWidget*) + 878
15 libqSlicerBaseQTGUI.dylib 0x000000010c399073 qSlicerExtensionsManagerWidgetPrivate::init() + 35
16 libqSlicerBaseQTGUI.dylib 0x000000010c39aa4b qSlicerExtensionsManagerWidget::qSlicerExtensionsManagerWidget(QWidget*) + 91
17 libqSlicerBaseQTGUI.dylib 0x000000010c397c81 Ui_qSlicerExtensionsManagerDialog::setupUi(QDialog*) + 417
18 libqSlicerBaseQTGUI.dylib 0x000000010c397353 qSlicerExtensionsManagerDialogPrivate::init() + 35
19 libqSlicerBaseQTGUI.dylib 0x000000010c398173 qSlicerExtensionsManagerDialog::qSlicerExtensionsManagerDialog(QWidget*) + 99
20 libqSlicerBaseQTGUI.dylib 0x000000010c325998 qSlicerApplicationPrivate::init() + 2408
21 libqSlicerBaseQTGUI.dylib 0x000000010c32718c qSlicerApplication::qSlicerApplication(int&, char**) + 220
22 0x000000010bfc50f3 (anonymous namespace)::SlicerAppMain(int, char**) + 803
23 libdyld.dylib 0x00007fff6ea3d115 start + 1

```

---

<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 4, 2018, 8:13pm UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/24 "2018-02-04T20:13:28Z")

</div>

Great. I already addressed this for Linux. Will work on fix for macOS on Monday or sooner if  
possible.

---

<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 5, 2018, 11:23pm UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/25 "2018-02-05T23:23:18Z")

</div>

> [@jcfr](#):
>
> on fix for macOS

Here is a work in progress topic: [https://github.com/Slicer/Slicer/compare/master...jcfr:macos-qt5-fixup-qtwebengineprocess](https://github.com/Slicer/Slicer/compare/master...jcfr:macos-qt5-fixup-qtwebengineprocess)

I plan on finalizing later tonight.

---

<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 7, 2018, 4:51am UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/26 "2018-02-07T04:51:32Z")

</div>

Packaging of `QtWebEngineProcess` on macOS should now be addressed in [r26892](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26892)

Since I already disabled the regular nightly build on macOS for this evening, I will manually trigger it after:

- running `svn update`
- disabling the source updates setting env variable [run\_ctest\_with\_update](https://github.com/Slicer/Slicer/blob/203b10f584ec2758e1af52f8109c6e4cd1a327ee/CMake/SlicerDashboardDriverScript.cmake#L121)
- manually running [factory-south-macos.sh](https://github.com/Slicer/DashboardScripts/blob/a4b631f3e9b819dbc47acf8a4794cb33b62b8cf0/factory-south-macos.sh)

Before doing so, I will have a look at [Launch error message in Qt5 debug build](https://discourse.slicer.org/t/launch-error-message-in-qt5-debug-build/2039/3)

---

<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 7, 2018, 6:56am UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/27 "2018-02-07T06:56:08Z")

</div>

> [@jcfr](#):
>
> Before doing so, I will have a look at Launch error message in Qt5 debug build

As already summarized in the corresponding topic, [r26893](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26893) addresses this problem.

Next step will be to address the `FloatingPointExceptions are not supported on this platform.` error reported when running CLI tests.

---

<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 8, 2018, 3:28am UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/28 "2018-02-08T03:28:33Z")

</div>

> [@jcfr](#):
>
> Next step will be to address the FloatingPointExceptions are not supported on this platform. error reported when running CLI tests.

This should be fixed by [r26894](http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26894). Waiting the [topic proposed](http://review.source.kitware.com/#/c/23159) to upstream ITK is integrated, [changes specific](https://github.com/Slicer/ITK/compare/906a0f8...Slicer:slicer-v4.13.0-2017-12-20-d92873e) to the Slicer fork of ITK were pushed.

---

<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 8, 2018, 2:23pm UTC](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918/29 "2018-02-08T14:23:27Z")

</div>

Mac nightly is working today 👍

[Previous page](https://discourse.slicer.org/t/transition-of-nightly-build-to-qt5-vtk9-cmake-3-9-and-c-11/1918.md?page=1)
