Results 1 to 2 of 2

Thread: Problem with copy text to clipboard

  1. #1
    Join Date
    Dec 2008
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Problem with copy text to clipboard

    Hello all.

    I am using QT4.3.0 and need to copy the text on a QLabel to be pasted on other application. I have set the textInteractionFlags to Qt::TextBrowserInteraction.

    However, I found this copy and paste function works fine on certain PCs only. For some other PCs, once the text is copied, the clipboard will be cleared and no text is being set in the clipboard.

    I would be more than grateful if someone could provide idea on how this can be solved.

    Thank you.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem with copy text to clipboard

    Could you provide some details about the environment(s) where it doesn't work? Personally I would begin with updating to a recent version of Qt. If it still doesn't work, search the Task-Tracker for known bugs.
    J-P Nurmi

Similar Threads

  1. Problem pasting text into a QTextEdit
    By Spockmeat in forum Qt Programming
    Replies: 8
    Last Post: 14th March 2009, 14:36
  2. problem in writing text with QFile
    By wei243 in forum Qt Programming
    Replies: 5
    Last Post: 6th March 2007, 14:26
  3. Editable text in QGraphicsView
    By wysota in forum Qt Programming
    Replies: 8
    Last Post: 24th February 2007, 15:30
  4. problem translating & rotating text
    By impeteperry in forum Qt Programming
    Replies: 9
    Last Post: 3rd July 2006, 19:17
  5. Problem with inserting text into QTextEdit
    By xorrr in forum Qt Programming
    Replies: 0
    Last Post: 6th February 2006, 11:45

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.