Skip to content

Commit 92eae30

Browse files
committed
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
1 parent 70412ec commit 92eae30

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tools/export/qtcreator/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
from os.path import splitext, basename
1818
from tools.targets import TARGET_MAP
1919
from tools.export.exporters import Exporter, filter_supported
20+
from tools.export.makefile import GccArm
2021

21-
22-
class QtCreator(Exporter):
22+
class QtCreator(GccArm):
2323
NAME = 'QtCreator'
2424
TOOLCHAIN = 'GCC_ARM'
2525

@@ -63,3 +63,6 @@ def generate(self):
6363

6464
for ext in ['creator', 'files', 'includes', 'config']:
6565
self.gen_file('qtcreator/%s.tmpl' % ext, ctx, "%s.%s" % (self.project_name, ext))
66+
67+
# finally, generate the Makefile
68+
super(QtCreator, self).generate()

0 commit comments

Comments
 (0)