Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, February 2008
QClipboard question


Message 1 in thread

Hi Everyone,
I use QT 4.2.3 as my GUI application toolkit.

I need to copy some specific text to MS windows clip board.

So I followed the instruction of QT help :

    QClipboard* pClipboard=QApplication::clipboard();
    pClipboard->setText("My Message ...", QClipboard::Clipboard);

But I can not paste the message out in MS windows.

Did I missed anything ?

PS : I use Exceed to connect my development platform (Linux) to MS
windows.

Regards,
Pagan


--
 [ signature omitted ] 

Message 2 in thread

Hi problem is in exceed settings. Your code works on Windows machine well.
So, try change Exceed settings.

---
Best regards,
Aram.

On Fri, Feb 29, 2008 at 1:49 PM, Pagan Chou <pagan_chou@xxxxxxxxxxxxxx>
wrote:

> Hi Everyone,
> I use QT 4.2.3 as my GUI application toolkit.
>
> I need to copy some specific text to MS windows clip board.
>
> So I followed the instruction of QT help :
>
>    QClipboard* pClipboard=QApplication::clipboard();
>    pClipboard->setText("My Message ...", QClipboard::Clipboard);
>
> But I can not paste the message out in MS windows.
>
> Did I missed anything ?
>
> PS : I use Exceed to connect my development platform (Linux) to MS
> windows.
>
> Regards,
> Pagan
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>


-- 
 [ signature omitted ]