Remove dependency on Qt.
Add test and update build.