This invention relates to pyrimidine derivatives of general formula (I)
##STR00001## in which Q, R1, R2, R3, R4, R5, X, and m have the meanings
that are contained in the description, as inhibitors of cyclin-dependent
kinases and VEGF-receptor tyrosine kinases, their production as well as
their use as medications for treatment of various diseases.