Clone of official tools

Revision:
43:2a7da56ebd24
Parent:
40:7d3fa6b99b2b
--- a/export/qtcreator/__init__.py	Mon Nov 06 13:17:14 2017 -0600
+++ b/export/qtcreator/__init__.py	Tue Sep 25 13:43:09 2018 -0500
@@ -15,6 +15,7 @@
 limitations under the License.
 """
 from os.path import splitext, basename
+from os import remove
 from tools.targets import TARGET_MAP
 from tools.export.exporters import Exporter
 from tools.export.makefile import GccArm
@@ -63,3 +64,8 @@
 
         # finally, generate the Makefile
         super(QtCreator, self).generate()
+
+    @staticmethod
+    def clean(project_name):
+        for ext in ['creator', 'files', 'includes', 'config']:
+            remove("%s.%s" % (project_name, ext))