No, I don't think it is worth it - this whole repo is now heavily coupled to qtcontacts-sqlite, and just finding and documenting those linkages would be a major task.  Adding ifdefs for them is unlikely to be helpful (especially as we have no intention of testing/maintaining the other branches...)