Probing the quark–gluon interaction with hadrons