qt - Copy to clipboard in C++? -


this question has answer here:

i want copy string clipboard in c++ application. how can that? possible copy formatting well? thank you

you said use qt in 1 of comments.

qt has class qclipboard, want (bonus: cross-platform).

you can put want, data managed via mime types. means can use own data formatting in clipboard, 'custom' mime type. note formatting done html text (text/html), whereas plain text in text/plain (for plain text qt provides function text()).


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -