Compounds of formula (I) or salts thereof are disclosed, wherein Q, R1a, r1b, R2A, r2b, R3, R4, r5a, r5b, r6a, R6C, r7a, r7b, r7c and r7d are defined herein. Methods for using such compounds as inhibitors of Bruton tyrosine kinase (Btk) and pharmaceutical compositions containing such compounds are also disclosed. These compounds are suitable for the treatment, prevention or mitigation of disease or disease progression in a variety of therapeutic areas such as autoimmune and vascular diseases.本發明公開了式(I)化合物或其鹽,其中Q、R1a、R1b、R2a、R2b、R3、R4、R5a、R5b、R6a、R6c、R7a、R7b、R7c和R7d定義於本文中。還公開了使用此類化合物作爲Bruton酪氨酸激酶(BtK)的抑制劑的方法和包含此類化合物的藥物組合物。這些化合物適用於在諸如自身免疫疾病和血管疾病的多種治療領域中治療、預防或減緩疾病或病症的進展。