Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Kaluss last edited by
does anybody know why completions dont work on QLineEdit when I use QLineEdit::setText(text).
If I use keyboard everything works fine.
If I use QCompleter::complete(), all completions are shown.
What I should do to display all maching completions?
AFAIK, because completion are triggered by user inputs not by programmatically setting text. So you should call QCompleter::setCompletionPrefix() after setText and before QCompleter::complete()