On 28.12.2012 17:51, Mark wrote:
> 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.
> Thank you for that, that will certainly fix the QWidget dependency for Qt5.
> 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.

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to