Fix QInteractiveConsole