[Interest] QClipboard from QCoreApplication?

Thiago Macieira thiago.macieira at intel.com
Sat Dec 29 00:10:17 CET 2012


On sexta-feira, 28 de dezembro de 2012 22.32.08, Mark wrote:
> Hi Thiago,
> 
> So that means that i can only use QGuiApplication::clipboard() if the
> application process has a GUI running (either SceneGraph or QWidget)?

No. You can access it if you're connected to the windowing system. You don't 
have to show anything.

That means the application type must not be QApplication::Tty.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121228/be50f9f1/attachment.sig>


More information about the Interest mailing list