Can you create a simple example app without Python, to see if it really is Qt's 
fault?

(Just create an app with Qt Creator and run it. As far as I understand, you use 
QWidgets, right? If so, create an empty QWitgets project, run and see how it 
goes.) 

On Fri Aug 19 13:33:58 2016 GMT+0200, Timothy W. Grove wrote:
> Changing the keyboard input source on OS X back and forth between 
> 'British' and 'Myanmar-QWERTY' crashes my PyQt v5.7 application after 
> about three changes, usually corrupting an attached sqlite database as 
> well. 'Myanmar-QWERTY' is the only input source that I'm having trouble 
> with; all others that I've tested so far appear okay. The windows 
> version of the application also seems okay. My application is fairly 
> complex, but I'm seeing this issue even with an absolute minimal app 
> containing only one window. I'm not certain if the issue is with PyQt or 
> Qt or the input source itself, but it doesn't appear to be with python 
> as a Tkinter app worked okay.
> 
> Any answers would be great, but if anyone could suggest where to find a 
> solution that would also be helpful. This is a pretty obscure bug, but 
> finding a solution or work-around is important to the application I'm 
> developing. Thank you.
> 
> Best regards,
> Timothy Grove
> 
> 
> Test program:
> 
> #!/usr/bin/env python3
> # -*- coding: utf-8 -*-
> 
> import sys
> from PyQt5.QtWidgets import QMainWindow
> from PyQt5.QtWidgets import QTextEdit
> from PyQt5.QtWidgets import QApplication
> 
> class MainWindow(QMainWindow):
>      def __init__(self, parent=None):
>          super(MainWindow, self).__init__(parent)
> 
>          text = QTextEdit()
>          self.setCentralWidget(text)
> 
> if __name__ == "__main__":
>      app = QApplication(sys.argv)
> 
>      mw = MainWindow()
>      mw.show()
> 
>      sys.exit(app.exec_())
> 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

-- 
Sent from my Jolla
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to