Remove use of qt4_automoc.

CMAKE_AUTOMOC is already used, so this is not needed.
Build with Qt 5.