Updated for QT 5 framework and fixed .gitignore to ignore the Build directory.