Make unit tests work in qt5 environment
Fixed building unit-tests on qt5
Added import for QML2