Open
Description
Environment:
- OS: macOS 26.0 beta Xcode 26.0 Build version 17A5241e
- qView version: qView-7.0-rc1
The removal of AGL from the qView 7.0-rc1 Makefile is necessary because Apple deprecated the AGL framework in macOS Sequoia (15.0) and removed it from the macOS 26.0 SDK with Xcode 26, causing the ld: framework 'AGL' not found error during compilation; see Apple Developer Documentation for details.
Xcode 26 dropped AGL which has broke qview. See my patch:
--- Makefile 2025-06-19 02:50:08
+++ ../Makefile 2025-06-19 02:47:44
@@ -40,7 +40,7 @@
DISTDIR = /Users/coffnix/qView-7.0-rc1/build/qView7.0
LINK = /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
LFLAGS = -stdlib=libc++ -headerpad_max_install_names $(EXPORT_ARCH_ARGS) -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -mmacosx-version-min=14.0 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/opt/homebrew/lib
-LIBS = $(SUBLIBS) -F/opt/homebrew/lib -framework Cocoa -framework QtWidgets -framework QtSvg -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtNetwork -framework QtCore -framework IOKit -framework DiskArbitration -framework UniformTypeIdentifiers -framework AGL -framework OpenGL
+LIBS = $(SUBLIBS) -F/opt/homebrew/lib -framework Cocoa -framework QtWidgets -framework QtSvg -framework QtGui -framework AppKit -framework ImageIO -framework Metal -framework QtNetwork -framework QtCore -framework IOKit -framework DiskArbitration -framework UniformTypeIdentifiers -framework OpenGL
AR = /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq
RANLIB = /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s
SED = sed
coffnix@Mini-M4 qView-7.0-rc1 % ls -l bin/qView.app/Contents/MacOS/qView
.rwxr-xr-x coffnix staff 1.6 MB Thu Jun 19 02:51:01 2025 bin/qView.app/Contents/MacOS/qView
coffnix@Mini-M4 qView-7.0-rc1 % file bin/qView.app/Contents/MacOS/qView
bin/qView.app/Contents/MacOS/qView: Mach-O 64-bit executable arm64
coffnix@Mini-M4 qView-7.0-rc1 % ./bin/qView.app/Contents/MacOS/qView
This is a QT old shit, created by qmake. To see this, run: grep -i '-framework\ AGL' /opt/homebrew/Cellar/qt/ -r