[Interest] Qt Apps on Mac Laptop with a Touch Screen

coroberti coroberti at gmail.com
Wed Nov 4 11:58:39 CET 2026


On Wed, Nov 4, 2026 at 12:56 PM Tor Arne Vestbø <Tor.arne.Vestbo at qt.io>
wrote:

>
>
> On 4 Nov 2026, at 11:50, coroberti <coroberti at gmail.com> wrote:
>
> On Wed, Nov 4, 2026 at 12:25 PM Tor Arne Vestbø <Tor.arne.Vestbo at qt.io>
> wrote:
>
>> Hi Robert,
>> macOS will take care of emulating mouse, so most apps should work out of
>> the box.
>> There’s a patch up to add native touch support here:
>> https://codereview.qt-project.org/c/qt/qtbase/+/783930
>> Though there are still rough edges around Qt that needs to be solved.
>> Cheers,
>> Tor Arne
>>
>> On 4 Nov 2026, at 11:19, coroberti <coroberti at gmail.com> wrote:
>> Hi,
>> Apple announced their first laptop with a touch screen.
>> Is there any need to update/correct our applications?
>> Is there any support in Qt missed to handle it?
>> Thank you,
>> Kind regards,
>> Robert Iakobashvili
>>
>> Dear Tor Arne,
> Thank you for your prompt reply and the patch.
>
> Is it makes sense to enable for all widgets: Qt::WA_AcceptTouchEvents
> or Apple-simulated mouse events will work better although not in all cases?
>
>
> I do not recommend enabling Qt::WA_AcceptTouchEvents for all widgets.
>
> For one, it enables touch events from trackpads as well, which has a
> performance impact.
> Secondly, doing so will disable the OS level emulation of mouse events for
> that widget, so unless it actually handles touch fully things will break.
> An example of that is that Qt Widgets does not have touch-based scrolling.
> Nor does it respond to long-presses to trigger context menus.
>
> These are things I’m working on improving.
>
> Cheers,
> Tor Arne
>

Yes, sure.
Thank you very much!

Kind regards,
Robert Iakobashvili
............................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20261104/4ba47806/attachment.htm>


More information about the Interest mailing list