[kcalcore] Fix Qt 5 build.
Merge pull request #1 from martinjones/master

Fix the Qt 5 build