[Qt] the RPC Console should be a QWidget to make window more independent

- fix issue #5254