[Qt-creator] QNX plugin: where to put bar-descriptor.xml editor
tobias.naetterlund at kdab.com
Tue May 8 07:23:58 CEST 2012
On Monday 07 May 2012 07.34.38 eike.ziller at nokia.com wrote:
> On 7 May 2012, at 09:04, ext Tobias Nätterlund wrote:
> > Hi,
> > Working on the QNX plugin for Qt Creator, we are right now a bit unsure
> > what is the most Qt Creator-like workflow when it comes to the
> > bar-descriptor.xml file.
> > This file is used by the packaging tool to create .bar packages, that is
> > installed onto the BlackBerry device, and contains e.g. which libraries
> > to include in the package, application name, permissions, etc.
> > What we'd like to do is to create an widget-based editor for this file,
> > to rid the user of having to edit the XML code manually.
> > We have two options for where to put this editor at this point:
> > 1) Make a specific editor that shows up when you select the
> > bar-descriptor.xml file in the project tree, instead of showing the
> > pure XML code.
> > 2) Put everything in the deploy settings, and possibly not have the bar-
> > descriptor.xml file show up in the project tree at all.
> > Any preference for one of the above?
> I'd think 1). You want to save these options in this file, and the file
> sounds like being a real integral part of the project sources that will be
> checked into version control, and it wouldn't be possible to have different
> deploy/run configurations with different bar-descriptor settings anyhow,
> would it?
It is possible to have different configuration profiles in the bar-descriptor,
but those are normally in the same file, and as you say, that is probably
something you want to put into version control.
> Br, Eike
> > The settings themselves are quite extensive, the editor in QNX Momentics
> > is split over four tabs. The General and Assets pages from that editor
> > can be seen at .
> > Thanks,
> > Tobias
> > 
> > http://bgmotey.blogspot.se/2012/02/qthelloworld-in-momentics-ide-for.ht
> > ml
Tobias Nätterlund | tobias.naetterlund at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
More information about the Qt-creator