Guard against setPlaceholderText < QT 4.7