Similar to this post: My plugins crashes with “No module named qgsprojectionselectionwidget” in Windows.
Except I would like to also use Qt3 Support widgets (in particular, a Q3ButtonGroup). However, QGIS does not recognise it and provides the following error:
NoSuchWidgetError: Unknown Qt widget: Q3GroupBox
To solve it with QGIS custom widgets, you can add qgis.gui to the ui file.
Is there a similar fix (or any fix) for Qt3 Support widgets?
Here is an example of my "dockwidget_base.ui" file:
<customwidget>
<class>Q3GroupBox</class>
<extends>QGroupBox</extends>
<header>Qt3Support/Q3GroupBox</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Q3ButtonGroup</class>
<extends>Q3GroupBox</extends>
<header>Qt3Support/Q3ButtonGroup</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsCollapsibleGroupBox</class>
<extends>QGroupBox</extends>
<header>qgscollapsiblegroupbox.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>QgsMapLayerComboBox</class>
<extends>QComboBox</extends>
<header>qgsmaplayercombobox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
radioButtonExclusivesetting in the Qt3ButtonGroup which I would like to test :) – Joseph Jun 27 '16 at 09:27