Skip to content
  • Oswald Buddenhagen's avatar
    unify {,obj}c++{source,header} handling in qmake project manager · 7e86b988
    Oswald Buddenhagen authored
    
    
    consistently with Xcode, qmake nowadays knows only one SOURCES list,
    which is automatically classified by extension.
    to replicate that, we actually copy the objective_c.prf file from qt
    5.6.3 and use it to override whatever comes with qt, so we can treat all
    qt versions uniformly.
    
    also, the code model throws away the information which files were listed
    as sources and which as headers. this is technically incorrect, as a
    source may be only included rather than compiled, but there is no point
    in extracting information which is not used.
    
    conclusion: lump all c-like sources into one variable as far as project
    processing is concerned.
    
    and as far as configuration goes, our code model doesn't differentiate
    anyway, so the duplicated setup paths can be eliminated as well.
    
    Change-Id: I24b1bc056f8d9eb579c9378817f602912ab49971
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@qt.io>
    7e86b988