Fix endif in header
Fix compiler warn on sign/unsigned compare
Add qmake project files