The application GUI I working requires a combo box for user to select item. When the application starts, the combo box will show a hint text something like \"Please select\"
There is an elegant solution if the QComboBox is editable:
QComboBox
editable
myQComboBox->lineEdit()->setPlaceHolderText("Please select");
QComboBoxes that are not editable do not have QLineEdits in them, so this would not work on those.
QLineEdit