A 4,5-quinolimide-based fluorescent sensor for the turn-on detection of Cd2+ with live-cell imaging.