[PyQt] QValidator and QML
Phil Thompson
phil at riverbankcomputing.com
Fri Jan 18 10:18:13 GMT 2019
On 16 Jan 2019, at 7:17 pm, Alexander Rössler <machinekoder at gmail.com> wrote:
>
> Hello everyone,
>
> I'm trying to create a QValidator for QML TextField. However, when I attempt to enter any text, the application segfaults.
>
> The problem is reproducible, and I created a demonstration application: https://github.com/machinekoder/pyqt-bug-qml-qvalidator
>
>
> It would be great if someone can help with this problem, as I have no idea how to work around it.
>
> I'm using a custom build of PyQt 5.10.1
Custom Python validators are not supported from QML - although I think its possible to do so.
Phil
More information about the PyQt
mailing list