qt application problems