diff -r 3fefc0c430f2 -r fc1ae39af8c9 eric6/IconEditor/IconEditorWindow.py --- a/eric6/IconEditor/IconEditorWindow.py Thu Mar 04 17:43:11 2021 +0100 +++ b/eric6/IconEditor/IconEditorWindow.py Thu Mar 04 17:44:41 2021 +0100 @@ -558,7 +558,11 @@ Private method to create the View actions. """ self.esm = QSignalMapper(self) - self.esm.mapped[int].connect(self.__editor.setTool) + try: + self.esm.mappedInt.connect(self.__editor.setTool) + except AttributeError: + # pre Qt 5.15 + self.esm.mapped[int].connect(self.__editor.setTool) self.drawingActGrp = createActionGroup(self) self.drawingActGrp.setExclusive(True)