ported to qt4. need to sort dependency locations and changes to them