Fix Qt interface compilation