Fix wxQt build on Arch Linux under Clang 21 (PR #25970)

24 views
Skip to first unread message

Avery King

unread,
Nov 11, 2025, 9:45:40 PM (9 days ago) Nov 11
to wx-...@googlegroups.com, Subscribed

Fixes #25969.

This PR makes a simple fix to get wxWidgets building under Arch Linux with Clang 21. It simply adds a cast inside SimulateKeyboardKey() inside src/qt/uiaction.cpp to convert the given Qt::Key to a character.

Note that in the issue I used a C-style cast as a proposed fix. In this PR, to follow the coding guidelines, I used a static_cast instead of a regular C-style cast.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/25970

Commit Summary

  • df409ae Fix wxQt build on Arch Linux under Clang 21

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25970@github.com>

VZ

unread,
Nov 12, 2025, 3:19:06 PM (8 days ago) Nov 12
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25970)

Looks good, thanks, will merge soon.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25970/c3523746043@github.com>

VZ

unread,
Nov 16, 2025, 12:39:54 PM (4 days ago) Nov 16
to wx-...@googlegroups.com, Subscribed

Closed #25970 via f3da561.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25970/issue_event/20973231232@github.com>

Reply all
Reply to author
Forward
0 new messages