[Interest] QClipboard from QCoreApplication?

Pekka Vuorela pvuorela at iki.fi
Fri Dec 28 16:46:23 CET 2012


On 28.12.2012 17:37, Mark wrote:
> Hi,
>
> I want to make a QClipboard wrapper for QML. QClipboard itself doesn't
> depend on QWidget, but QApplication does. And i can only get a
> QClipboard object from QApplication thus i get a QWidget dependency
> again...
>
> Is there any way to construct a QClipboard object from a QCoreApplication?

There's also QGuiApplication in between from where you can get the 
clipboard.




More information about the Interest mailing list