The invention concerns quinazoline derivatives of the formula (I); wherein each of Q1, Q2, Z, R1, R2, R3, L and m have any of the meanings defined in the description; processes for its preparation, pharmaceutical compositions containing them and their use in the manufacture of a medicament for use in the prevention or treatment of tumors that are sensitive to the inhibition of tyrosine kinases of the erbB receptor.