fixed some qt and framework issues