QML and C++ complete

Test need fixes