On Fri, Dec 28, 2012 at 4:46 PM, Pekka Vuorela <[email protected]> wrote:
> 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.
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest

Hi Pekka,

Thank you for that, that will certainly fix the QWidget dependency for Qt5.
Is there also something for Qt4?
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to