Skip to content

Can't build with Qt 6.5.2 with macOS Tahoe 26.x #861

@jmarrec

Description

@jmarrec

Issue overview

Tahoe removed the AGL framework from the macOS SDK.

Older Qt is looking for it... So we hit this bug: https://qt-project.atlassian.net/browse/QTBUG-137687

It was fixed in Qt 6.9.2, and I think backported to 6.5.10

Current Behavior

We had downgraded Qt to 6.5.2 (from 6.5.3) to EXACTLY match Sketchup 2024 in:

So upgrading to 6.5.10 is probably not a real option (though I'm not privy to why it wasn't working on windows, @macumber did that).

Possible Solution

Maybe it's time to remove Qt from the sketchup plugin...

Shitty workaround

Go edit your $QTDIR's file FindWrapOpenGL.cmake (eg /Users/julien/Qt/6.5.2/macos/lib/cmake/Qt6/FindWrapOpenGL.cmake) and make this patch edit: https://codereview.qt-project.org/c/qt/qtbase/+/652022

Details

Environment

Some additional details about your environment for this issue (if relevant):

$ sw_vers
ProductName:		macOS
ProductVersion:		26.2
BuildVersion:		25C56

$ clang --version
Apple clang version 17.0.0 (clang-1700.6.3.2)
Target: arm64-apple-darwin25.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions