[Interest] QClipboard from QCoreApplication?

Mark markg85 at gmail.com
Fri Dec 28 22:32:08 CET 2012


On Fri, Dec 28, 2012 at 6:37 PM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> On sexta-feira, 28 de dezembro de 2012 17.01.42, Mark wrote:
>> >> Is there also something for Qt4?
>> >
>> > No, but in Qt4 QtQuick is depending on QWidget anyway. And there even the
>> > QClipboard exists in the same gui module as QApplication.
>>
>> Ahh right. Thank you for the clarification :)
>
> In addition to what Pekka said, note that you need access to the windowing
> system in order to get to the windowing system's clipboard. That's
> QApplication's purpose.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

Hi Thiago,

So that means that i can only use QGuiApplication::clipboard() if the
application process has a GUI running (either SceneGraph or QWidget)?



More information about the Interest mailing list