diff -r b011307033d5 -r bb05d1db9286 src/eric7/Project/Project.py --- a/src/eric7/Project/Project.py Thu Oct 31 10:54:59 2024 +0100 +++ b/src/eric7/Project/Project.py Sat Nov 30 11:08:07 2024 +0100 @@ -54,6 +54,7 @@ ) from eric7.Tasks.TasksFile import TasksFile from eric7.UI.NotificationWidget import NotificationTypes +from eric7.Utilities.uic import compileOneUi from eric7.VCS.VersionControl import VersionControlState from .DebuggerPropertiesFile import DebuggerPropertiesFile @@ -7157,6 +7158,20 @@ errors += 1 continue + # recompile all included compiled forms + for name in names: + nameList = os.path.split(name) + if nameList[1].startswith("Ui_") and nameList[1].endswith(".py"): + # It is a compiled form file. + formPath = os.path.join( + nameList[0], + nameList[1].replace("Ui_", "").replace(".py", ".ui"), + ) + compileOneUi( + os.path.join(self.ppath, formPath), uiheadername=formPath + ) + + # create the plugin archive for name in names: if name: try: