Hi,

I wish to pass some text back to the user via something like this

void CMEForm::doCopy() {
std::cout << "doCopy() called" << std::endl;
    QClipboard* qclip = QApplication::clipboard();

    qclip->setText("Hello, this is a long text generated from clipboard");
}

This works for compiled applications as an *.exe but I notice that it does
not work when I build it as a WASM package.

I believe this is likely due to security/sandbox reasons.

Any recommendation of possible solution for the wasm use case ?

Cheers


-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to