Files
rdkit/Code/GraphMol
Chris Von Bargen e8f2b98f4c Fix link failure on macOS caused by AGL framework injection in Qt (#9139)
* Fix Qt 6.5.8 link failure on macOS due to removed AGL framework

Qt 6.5.8 injects the AGL (Apple Graphics Layer) framework into the
WrapOpenGL::WrapOpenGL imported target's INTERFACE_LINK_LIBRARIES. AGL
was removed from macOS 14+ SDKs, causing a link error when building
MolDraw2DQt on modern macOS:

  ld: framework not found AGL

This workaround filters AGL out of WrapOpenGL::WrapOpenGL's link
libraries after find_package(Qt6) populates them. The guard conditions
(APPLE and TARGET WrapOpenGL::WrapOpenGL) make it a no-op on other
platforms and Qt versions that do not create that target.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Broaden AGL workaround comment to not pin Qt 6.5.8 specifically

The issue may affect other Qt versions, not just 6.5.8.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 06:12:29 +01:00
..
2025-10-17 05:52:27 +02:00
2025-10-14 19:15:37 +02:00
2019-10-10 20:18:43 +09:00
2026-02-26 08:58:36 +01:00
2026-03-09 09:07:54 +01:00
2019-10-10 20:18:43 +09:00
2026-02-27 04:39:41 +01:00
2026-01-03 06:42:09 +01:00
2025-03-20 07:40:33 +01:00
2026-03-12 05:54:20 +01:00
2026-02-26 08:58:36 +01:00
2023-11-15 06:45:42 +01:00
2025-10-08 16:08:01 +02:00
2018-07-25 09:14:17 +02:00
2026-02-26 08:58:36 +01:00
2022-07-11 11:20:03 +02:00
2025-03-17 19:54:15 +01:00
2021-07-09 15:06:54 +02:00
2018-07-25 09:14:17 +02:00
2019-10-10 20:18:43 +09:00
2025-07-25 14:33:32 +02:00
2020-09-02 04:51:20 +02:00
2023-12-22 04:58:18 +01:00
2019-12-31 06:43:27 +01:00
2025-05-18 08:14:05 +02:00
2025-12-09 15:06:29 +01:00