[Qt-interest] How to put files into QClipboard

Jianfeng Zhang zjf.ha2010 at gmail.com
Wed Dec 8 08:38:34 CET 2010


How to put files into QClipboard,just like pressed ctrl+c?Then,users can
press ctrl+v paste files?

c++ code:
mimeData->setData("x-special/gnome-copied-files",file:///home/1.txt);

but it isn't work ,I've no idea!  help me .

thanks very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101208/0e93264c/attachment.html 


More information about the Qt-interest-old mailing list