Filing

You'll just need to enter your T4 from Ontario, and then in the Provincial part of your return (Other Québec Credits) you can specify the amount to transfer to Quebec.