Hi Edward,

qt_big_text is failing for me on Qt5, when its create_widgets() function 
loads QWidget from QtGui rather than QWidgets:

def create_widgets(self):  '''Create the big-text buttons and text warning 
area.'''  c = self.c  self.active_flag = True  warning = self.
warning_message()  self.old_w.setPlainText(self.p.b) # essential.  self.w = 
w = QtGui.QWidget() # No parent needed.  layout = QtGui.QVBoxLayout() # No 
parent needed.  w.setLayout(layout)  w.text = tw = QtGui.QTextBrowser()
>From leo/core/leoQt, QtGui was the Qt4 location and leoQt redefines QtGui 
to QtWidgets with the note that imports should be done from QtWidgets to be 
compatible with both Qt4 and Qt5. So all three occurences of QtGui above 
should be QtWidgets.

Thanks
Stephen

P.S. Should I be filing bug reports for these directly in github?



-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to