Qt 5: fix TestCpp build, added support for mouse and keyboard events

Some files were out of the .pro file thus TestCpp didn't build.
Additional to Touch support, the mouse and keyboard events works Ok.