Piezofluorochromic and aggregation-induced-emission compounds containing triphenylethylene and tetraphenylethylene moieties.