Fix Q-object creating