Using this stylesheet for QLineEdit achieves the purpose:
QLineEdit::disabled{ background-color:#eeeeee; }