Merge pull request #25 from lpotter/master

make sure to emit signal after cache is updated.
update for qt5 build