Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
Description
NewProjectAction.java improve the TODO
Instead
InputStream in = getClass().getResourceAsStream( "/templates/qtquickapplication/CMakeLists.txt"); if (in !=null) { Stringcontent=IOUtils.toString(in, StandardCharsets.UTF_8); content = content.replaceAll("%PROJECT_NAME%", projectName); content = content.replaceAll("%QT_MIN_VERSION%", settingsProject.qtMinVersion); IOUtils.write(content, newFileOutputStream( Paths.get(projectLocation, "CMakeLists.txt").toFile()), StandardCharsets.UTF_8); }
replace the manual copying of all files under the project to something more generic