From 614d1f3b981b381a9cb39456db6e040f2dc73d52 Mon Sep 17 00:00:00 2001 From: Matteo Italia Date: Thu, 6 Apr 2017 11:22:21 +0200 Subject: [PATCH] Qt Creator exporter: added derivation from GccArm Makefile this allows Qt Creator to build the generated project "out of the box", enabling integration with the "Issues" list --- tools/export/qtcreator/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/export/qtcreator/__init__.py b/tools/export/qtcreator/__init__.py index 4b344fa6cf..d3697aae05 100644 --- a/tools/export/qtcreator/__init__.py +++ b/tools/export/qtcreator/__init__.py @@ -17,9 +17,9 @@ limitations under the License. from os.path import splitext, basename from tools.targets import TARGET_MAP from tools.export.exporters import Exporter, filter_supported +from tools.export.makefile import GccArm - -class QtCreator(Exporter): +class QtCreator(GccArm): NAME = 'QtCreator' TOOLCHAIN = 'GCC_ARM' @@ -63,3 +63,6 @@ class QtCreator(Exporter): for ext in ['creator', 'files', 'includes', 'config']: self.gen_file('qtcreator/%s.tmpl' % ext, ctx, "%s.%s" % (self.project_name, ext)) + + # finally, generate the Makefile + super(QtCreator, self).generate()