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

2 clipboard->setTex different 2x Ctrl+v but not the desired result

$
0
0
I copy two different text and past one after another QString  StringLog="vbghghg ";     QClipboard *clipboard = QApplication::clipboard(); clipboard->setText(StringLog); mykeyboard->paste();     QString  ddd="1255512 "; clipboard->setText(ddd); mykeyboard->paste(); with the following code I get the following result 1255512 1255512 my sytem is ubuntu 12,04 and QT 4.8 thx for help

Viewing all articles
Browse latest Browse all 18427

Trending Articles