# Qt5 build missing signature in DICOM settings

**URL:** <https://discourse.slicer.org/t/qt5-build-missing-signature-in-dicom-settings/978>\
**Category:** Development\
**Tags:** qt\
**Created:** [August 31, 2017, 2:16pm UTC](https://discourse.slicer.org/t/qt5-build-missing-signature-in-dicom-settings/978 "2017-08-31T14:16:19Z")\
**Posts on this page:** 3\
**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:** [August 31, 2017, 2:16pm UTC](https://discourse.slicer.org/t/qt5-build-missing-signature-in-dicom-settings/978/1 "2017-08-31T14:16:19Z")

</div>

@cpinter, @jcfr looks like a compatibility issue with the property wrapping after this commit. It works for me on gcc5.4 build but not with gcc6.3.

> <https://github.com/Slicer/Slicer/commit/ee5c8703642cf8f42e9594bc780cb0801623b39d>

```auto
Python 2.7.13 (default, Aug 14 2017, 18:33:39) 
[GCC 6.3.0 20170516] on linux2
>>> 
Traceback (most recent call last):
  File "/home/researcher/Slicer-superbuild/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOM.py", line 90, in performPostModuleDiscoveryTasks
    self.settingsPanel = DICOMSettingsPanel()
  File "/home/researcher/Slicer-superbuild/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOM.py", line 145, in __init__
    self.ui = _ui_DICOMSettingsPanel(self)
  File "/home/researcher/Slicer-superbuild/Slicer-build/lib/Slicer-4.7/qt-scripted-modules/DICOM.py", line 128, in __init__
    "DICOM/automaticallyLoadReferences", loadReferencesComboBox, "currentUserDataAsString", qt.SIGNAL("currentIndexChanged (int)"))
ValueError: Could not find matching overload for given arguments:
('DICOM/automaticallyLoadReferences', ctkComboBox(0x5560310dce60) , 'currentUserDataAsString', u'2currentIndexChanged (int)')
 The following slots are available:
registerProperty(QString settingKey, QObject object, QString objectProperty, QByteArray propertySignal, QString settingLabel, SettingOptions options, QSettings settings) -> void
registerProperty(QString settingKey, QObject object, QString objectProperty, QByteArray propertySignal, QString settingLabel, SettingOptions options) -> void
registerProperty(QString settingKey, QObject object, QString objectProperty, QByteArray propertySignal, QString settingLabel) -> void
registerProperty(QString settingKey, QObject object, QString objectProperty, QByteArray propertySignal) -> void

```

---

<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:** [August 31, 2017, 3:48pm UTC](https://discourse.slicer.org/t/qt5-build-missing-signature-in-dicom-settings/978/2 "2017-08-31T15:48:12Z")

</div>

It’s strange that gcc version affects wrapping. If I understand correctly this does not affect the nightly right?

---

<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:** [August 31, 2017, 4:02pm UTC](https://discourse.slicer.org/t/qt5-build-missing-signature-in-dicom-settings/978/3 "2017-08-31T16:02:33Z")

</div>

Sorry! You’re right @cpinter it’s not the version of gcc it’s the version of Qt. The error happens on my Qt5 builds, not on Qt4, so no it doesn’t affect the nightly builds.
