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



  • 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



  • same problem using selection

    @clipboard->setText(ddd,QClipboard::Selection);
    mymouse->mouseClick(2);@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.