fix for compiling qt