No Keyboard input if QLineEdit on frameless popup window
When a parent widget is defined with:
setWindowFlags(Qt::FramelessWindowHint | Qt::Popup);
Any edit box widget placed on top of it will not receive keyboard input. Mouse will work, right click, context menu, paste will work -- but not direct keyboard input. Any ideas why and how it can be fixed?
I had same problem on some projects written with pure C++/win32API.
I don't know what OS are you running, but what I did: set your dialog to be active window and then set focus on edit box.
Unfortunately that doesn't work. Tried it on OSX.