> On 7 Oct 2020, at 10:38, Volker Hilsheimer wrote:
>
>> On 7 Oct 2020, at 08:24, Martin Koller wrote:
>>
>> Hi,
>>
>> in Qt6 the QDesktopWidget is gone, which I used in
>>
>> QWidget *desktop = QApplication::desktop();
>> QPixmap pm = QGuiApplication::screenAt(event->globalPos())->
>>
> On 7 Oct 2020, at 08:24, Martin Koller wrote:
>
> Hi,
>
> in Qt6 the QDesktopWidget is gone, which I used in
>
> QWidget *desktop = QApplication::desktop();
> QPixmap pm = QGuiApplication::screenAt(event->globalPos())->
>grabWindow(desktop->winId(),
> On 7 Oct 2020, at 08:24, Martin Koller wrote:
>
> Hi,
>
> in Qt6 the QDesktopWidget is gone, which I used in
>
>QWidget *desktop = QApplication::desktop();
>QPixmap pm = QGuiApplication::screenAt(event->globalPos())->
> grabWindow(desktop->winId(),
On Mittwoch, 7. Oktober 2020 08:24:40 CEST Martin Koller wrote:
> Hi,
>
> in Qt6 the QDesktopWidget is gone, which I used in
>
> QWidget *desktop = QApplication::desktop();
> QPixmap pm = QGuiApplication::screenAt(event->globalPos())->
> grabWindow(desktop->winId(),
Hi,
in Qt6 the QDesktopWidget is gone, which I used in
QWidget *desktop = QApplication::desktop();
QPixmap pm = QGuiApplication::screenAt(event->globalPos())->
grabWindow(desktop->winId(), event->globalPos().x(),
event->globalPos().y(), 1, 1);
How do I get the