Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

[Solved] Copy text from QString?

$
0
0
Hi, I want to copy the text from a QString (if possible along with the formating?) so that it can be pasted outside my application. For example, when the string is copied through code then I can paste the string to say notepad. How do I do that? I tried by creating a QLineEdit object, setting the text from QString & then QLineEdit::copy(); But it does not work. Thank You.

Viewing all articles
Browse latest Browse all 18427

Trending Articles