--- a/eric7/Plugins/WizardPlugins/EricPluginWizard/Templates.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/Plugins/WizardPlugins/EricPluginWizard/Templates.py Sun May 16 20:07:24 2021 +0200 @@ -16,7 +16,7 @@ Module documentation goes here. """ -from PyQt5.QtCore import QObject +from PyQt6.QtCore import QObject {config0}\ # Start-Of-Header @@ -144,7 +144,7 @@ @return preview pixmap @rtype QPixmap """ - from PyQt5.QtGui import QPixmap + from PyQt6.QtGui import QPixmap fname = "preview.png" return QPixmap(fname)