Quebec will not recognize the written test from Ontario. You either do the first road test in Ontario and then transfer to Quebec licence or redo the Quebec written test in Quebec. If you decide to do the road test in Ontario, you should do that ASAP because you have already moved to Quebec!