Hi !

I am using a QLineEdit and would like to have a default text when the QLineEdit is empty. Usually this text is grey and in italic (like in QtCreator). But the only thing I have found to perform this is setPlaceHolderText() but the documentation says it has been introduced in Qt 4.7...

Any idea ? Thanks