Skip to content
  • hjk's avatar
    ProjectExplorer: De-duplicate code in IBuildStepFactory derived classes · 519cc8de
    hjk authored
    
    
    This removes 900 lines of duplicated code, some duplicated checks at
    runtime and some (minor) quadratic behavior when gathering display names.
    
    canClone(), canRestore() and canCreate() and restore() use the same
    pattern. Handle that on the core side once. Leave retore() virtual to let
    the ios code unmodified (which is likely not needed, later...). Introduce
    'Unclonable' and 'Uncreatable' flags to keep Android package installation
    and WinRT deployment (non-)functionality unchanged.
    
    Change-Id: I0325479aff818a4038b2f241ca733b8d8cd66f2f
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@qt.io>
    519cc8de