A compound capable of being used as a tumor inhibitor, a preparation method therefor, and application thereof. The compound has a structure represented by general formula I; a stereoisomer, an enantiomer, a raceme, a cis/trans isomer, a tautomer, and an isotopic variant of the compound are comprised; the compound can be used separately or in combination with other drugs for treating tumors or inflammatory diseases, or for treating other disorders or diseases mediated by the activity of MDM2 and/or MDM4, and shows prominent curative activity.