[Qt-creator] Use IBuildStepFactory in IBuildConfigurationFactory
Mateusz Loskot
mateusz at loskot.net
Wed Nov 13 18:38:04 CET 2013
On 13 November 2013 17:32, Tobias Hunger <tobias.hunger at gmail.com> wrote:
> On Nov 13, 2013 5:56 PM, "Mateusz Loskot" <mateusz at loskot.net> wrote:
>> IOW, does it mean those factories are dedicated for use by 'external'
>> parties only, i.e. Qt Creator core, and should not be used
>> within the same plugin those subclasses are implemented?
>
> No.
Great.
> It just means that it is easier to call new WhatEverBuildStep than it is to
> go through a WhatEverBuildStepFactory.
Easier from what point?
Is the creation of a factory so terribly complex that it excuses
copy-n-paste of code and managing of strings with process arguments
and overall initialisation of a processing step instance in multiple places?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the Qt-creator
mailing list