Fix off-center brush rendering
Fix wrong filename in cmakelist
Qt 5.0 compatibility

Thanks to Kristoph Korn for providing the fixes.