Recent

Author Topic: clipboard lost when Qt5 app exists.  (Read 1859 times)

dbannon

  • Hero Member
  • *****
  • Posts: 3178
    • tomboy-ng, a rewrite of the classic Tomboy
clipboard lost when Qt5 app exists.
« on: October 05, 2023, 09:10:37 am »
Using Qt5 (on Linux, current tools) content in the clipboard is lost when the (Qt Lazarus) app exits. For gtk2, there is this useful trick to deal with the same problem https://wiki.freepascal.org/Clipboard#How_to_fix_empty_GTK2_clipboard_on_exit

Is there a similar trick for Qt5 and/or Qt6 ?

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

zeljko

  • Hero Member
  • *****
  • Posts: 1686
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: clipboard lost when Qt5 app exists.
« Reply #1 on: October 05, 2023, 11:34:27 am »
Afaik no, only external clipboard apps like klipper etc

 

TinyPortal © 2005-2018