As per CRA:
In Box 22 of T4, The amount reported is the total amount of federal and provincial (excluding Quebec) income tax paid.
However in Box E of Releve 1, The amount reported is the total amount of Quebec provincial income tax paid.
To get more information, you can check following CRA link:
T4 and Relevé 1 tax slips
Thanks for choosing TurboTax.