[PyQt] QValidator and QML
Phil Thompson
phil at riverbankcomputing.com
Sat Jan 26 15:05:22 GMT 2019
On 26 Jan 2019, at 9:07 am, Barry Scott <barry at barrys-emacs.org> wrote:
>
>
>
>> 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> 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?
Snapshots are only provided as source.
Phil
More information about the PyQt
mailing list