Fixed build system and added QT5  as asubmodule.