[PyQt] QValidator and QML

Barry Scott barry at barrys-emacs.org
Sat Jan 26 09:07:23 GMT 2019



> On 25 Jan 2019, at 16:16, Phil Thompson <phil at riverbankcomputing.com> wrote:
> 
> On 18 Jan 2019, at 10:18 am, Phil Thompson <phil at riverbankcomputing.com <mailto:phil at riverbankcomputing.com>> wrote:
>> 
>> 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.
> 
> Support will be in tonight's PyQt snapshot - please test.

Are there  built wheels I can install the snapshot from or do I have to compile from source?

Barry


> 
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com <mailto:PyQt at riverbankcomputing.com>
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt <https://www.riverbankcomputing.com/mailman/listinfo/pyqt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190126/439eb06c/attachment.html>


More information about the PyQt mailing list