Add qbs build files.
Fix compilation with namespaced Qt.

For some reason, the UI classes are put into the Qt namespace.