[PyQt] QApplication.clipboard() segfault on GNU/Linux
Hugo Slepicka
hhslepicka at gmail.com
Tue Jul 23 17:28:01 BST 2019
This is what worked for me for all OSs:
clipboard = QApplication.clipboard()
clipboard.setText(copy_text)
event = QEvent(QEvent.Clipboard)
QApplication.instance().sendEvent(clipboard, event)
On Tue, Jul 23, 2019 at 9:08 AM Tiger-222 <contact at tiger-222.fr> wrote:
> FTR I have the same error on macOS.
>
>
>
> -----
> Mickaƫl Schoentgen.
> [FR] Personal blog: http://www.tiger-222.fr
> --
> Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
Hugo Slepicka
*hhslepicka at gmail.com <hhslepicka at gmail.com>*
*+1 631 855 5717*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190723/38f939dd/attachment.html>
More information about the PyQt
mailing list