Make sure that it compiles under qt 5