QClipboard setText not working
-
I can't seem to figure out how to get QClipboard to work right. clear and setText seem to do nothing. Am I missing something here?
@
auto *pClip=QApplication::clipboard();
pClip->clear();//no effect?
pClip->setText("abc");//no effect?
QString str=pClip->text()//returns whatever was in clipboard prior to above code@