[Qt-creator] Kit and device concept in QtCreator

David Kaspar dkaspar at blackberry.com
Thu Sep 5 20:33:14 CEST 2013


Hi Tobias,

On 05/09/13 19:02, Tobias Hunger wrote:
>
>
> On Sep 5, 2013 6:04 PM, "David Kaspar" <dkaspar at blackberry.com 
> <mailto:dkaspar at blackberry.com>> wrote:
> > The generic 'Context' object would allow varying number of columns i.e.
> > it would allow tree-like structure of contexts. We can have e.g.:
> > a) QNXProject/Target/Debug/Device
> > b) QNXProject/Target/Release/Device/Perimeter/...
> > b) QNXProject/Target/Test
>
> I do not understand where you are going here. What kind of context are 
> you talking about here?
>
This describes a generic interface that would allow to supply any 
structure into "Mini Project Target Selector" - not only a 'Devices' 
selection.
Anyway it seems that there is no use-case for it, so I am taking the 
proposal back.

> > The question is whether you see any real use-case for having it generic
> > or whether you would prefer to have the API bound specifically to
> > Target. For QnxPlugin purpose, it is just enough to be able to add
> > 'Devices' column for a target with BlackBerry-specific kit assigned - so
> > we do not explicitly need it generic.
>
> Add a column to what exactly?
>
I meant 'Devices' column to be the listing of Devices in the 'Mini 
Project Target Selector'.

> If this is just about finding out whether a device it's compatible 
> with a kit in a generic fashion then having something along the lines of
>
> bool isCompatible(const Kit *k) const;
>
> on the device is probably enough, isn't it?
>
Yes, that would be enough for our use-case. For my API proposal, I 
assumed that we should not modify 'IDevice' class.

Would it be ok if we implement the Devices selection in the 'Mini 
Project Target Selector' using 'bool isCompatible(Kit)' function 
(default implementation would return 'false')?

Thanks,
   David

> Best Regards,
> Tobias
>


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130905/d68fa3be/attachment.html>


More information about the Qt-creator mailing list