qt: initial commit
qt: add return value
Move source to opt
Merge branch 'pmaster'