-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.9.0, 6.9.1
PYSIDE-3141 describes code that crashes the Python interpreter, which is rather unwanted in the Python world.
The following code (which I could not test, and has been auto-generated using qtpy2cpp.py, should crash if you run it and hit any keyboard key ("space", "x", ...) inside the QComboBox:
#include <QtWidgets/QApplication> #include <QtWidgets/QComboBox> #include <QtWidgets/QCompleter> int main() { QApplication app; auto *box = new QComboBox(); auto *completer = new QCompleter({""}); box->editTextChanged->connect(completer->complete); box->show(); return app.exec(); }