-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.9.0, 6.9.1
-
None
PYSIDE-3141 describes code that crashes the Python interpreter, which is rather unwanted in the Python world.
ASSERT: "d->widget" in file qt-610/qt-610/qtbase/src/widgets/util/qcompleter.cpp, line 1516
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(); }
- resulted from
-
PYSIDE-3141 Unconnected QCompleter crashes Python
-
- Closed
-