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
pull/4278/head
Matteo Italia 2017-04-06 11:22:21 +02:00 committed by adbridge
parent c2f5aa19a7
commit 614d1f3b98
1 changed files with 5 additions and 2 deletions

View File

@ -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()