Hello guys,

I have got problem with QLineEdit class.
I want to create lineedit object and it working, but if I running my program this input doesn't recive character that I press.
I tried to use releaseKeyboard() method, setting focus on this object too, but this still doesn't working.

My code:

Qt Code:
  1. QLineEdit * nicknameField = new QLineEdit();
  2. nicknameField->setPlaceholderText("Enter your nickname");
  3. nicknameField->setGeometry(pxPos,260,200,30);
  4. scene->addWidget(nicknameField);
To copy to clipboard, switch view to plain text mode 


PS. If it can help I working on CLion IDE with Qt5 library on windows 10.