Clipboard hangs up other applications
I am a QtNewbie, and I have a problem with the use of the clipboard.
If I execute the following code :
QClipboard *clipboard = QApplication::clipboard();
Any application which tries to paste the content of the clipboard hangs up, and wakes up only if I kill the QApplication applic.
It seems Qt doesn't release the clipboard after setting text. I couldn't find any method to do this. What am I missing ?
By cons, if I copy to the clipboard without Qt (via OpenClipboard ... SetClipboardData ... CloseClipboard) everything works fine.
My OS is Windows XP (sorry...).