private static void ApplyPostImportSteps(QtProject qtProject) { qtProject.RemoveResFilesFromGeneratedFilesFilter(); qtProject.TranslateFilterNames(); // collapse the generated files/resources filters afterwards qtProject.CollapseFilter(Filters.ResourceFiles().Name); qtProject.CollapseFilter(Filters.GeneratedFiles().Name); try { // save the project after modification qtProject.Project.Save(null); } catch { /* ignore */ } }