added gitignore
made a few corrections to build with qt4 on ubuntu