Qt embedded fixes