A compound, capable of inhibiting kinases, for the treatments of diseases or disorders mediated by such kinases, has a structure of formula (I):or a stereoisomer, a tautomer, a pharmaceutically acceptable salt thereof. The compound can be used in the treatments of diseases or conditions mediated by CSF-1R, c-KIT, FLT3, or PDGFR kinases. Such diseases or conditions may include cancers, autoimmune diseases, and bone resorptive diseases.