Results 1 to 4 of 4

Thread: QClipboard different behavior on application exit for Windows and Mac

  1. #1
    Join Date
    Nov 2014
    Posts
    2
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows

    Default QClipboard different behavior on application exit for Windows and Mac

    I am seeing a difference in the way clipboard is handled on different platforms (Win and Mac). In my application i set my own mime type and some data corresponding to that.
    WIN : On application exit the data in my mime type is changed.
    MAC : On application exit the data is preserved ,meaning there is no change.
    I want to know why there is a difference on how system clipboard is managed for different platforms?
    Any help is appreciated

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QClipboard different behavior on application exit for Windows and Mac

    You'll need to ask the designers of the respective platforms why they chose a certain behavior.

    Some platforms save content of clipboards, some discard it, some discard it but run helper applications that save it, etc.

    Cheers,
    _

  3. #3
    Join Date
    Nov 2014
    Posts
    2
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows

    Default Re: QClipboard different behavior on application exit for Windows and Mac

    And who that might be?How can i get to contact them?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QClipboard different behavior on application exit for Windows and Mac

    Quote Originally Posted by Divy View Post
    And who that might be?How can i get to contact them?
    For Windows that would be Microsoft, for Unix that might be the authors of X11. For Mac that would be Apple.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to exit Qt console application?
    By arcelivez in forum Qt Programming
    Replies: 14
    Last Post: 30th July 2014, 08:51
  2. Replies: 4
    Last Post: 19th November 2012, 14:35
  3. QML Application crashing on exit
    By fgungor in forum Qt Quick
    Replies: 0
    Last Post: 12th March 2011, 10:19
  4. Replies: 2
    Last Post: 21st November 2010, 18:03
  5. QClipboard and Windows
    By GodOfWar in forum Qt Programming
    Replies: 5
    Last Post: 21st July 2008, 09:05

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.