Structure-activity relationships (SARs) showed that both imidazoquinazolinone and triazoloquinazolinone derivatives have good SHP2 protein kinase and melanoma cell line A357 inhibitory activity. This evidence concerns the gene WEE1 and melanoma.