Fix Qt for Blackberry. Remove unnecessary dependencies for Blackberry and Windows.
In Qt, use mobile UI for anything non-Linux due to threads issue. So, Windows Qt UI runs fine now.