<div dir="ltr"><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">Hello everyone,</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">I'm trying to create a QValidator for QML TextField. However, when I attempt to enter any text, the application segfaults.</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">The problem is reproducible, and I created a demonstration application: <a href="https://github.com/machinekoder/pyqt-bug-qml-qvalidator" target="_blank" rel="noopener noreferrer" id="gmail-LPlnk318349">https://github.com/machinekoder/<span class="gmail-x_highlight" id="gmail-x_0.9517767021210566" name="x_searchHitInReadingPane">pyqt</span>-bug-qml-qvalidator</a></p><br style="color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">It would be great if someone can help with this problem, as I have no idea how to work around it.</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">I'm using a custom build of <span class="gmail-x_highlight" id="gmail-x_0.32000827400432663" name="x_searchHitInReadingPane">PyQt</span> 5.10.1</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><br></p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">Alex</p><p style="margin-top:0px;margin-bottom:0px;color:rgb(0,0,0);font-size:16px;font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><br></p><div id="gmail-x_Signature" style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont;font-size:16px"><br class="gmail-Apple-interchange-newline"></div></div>