New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qt 6 support (for Octave 9.x) #262
Comments
Last time I tried it like a week ago, my build of 9.1.0, done against Qt 6, failed during the build. Might be due to incompatibility with Qt 6.7.0, which came out recently. There are new patches for it in the core octave formula. I pulled those patches in (on branch "WIP/polly-olly" for now, in homebrew-octave-app repo), and the build succeeded! Looks like that was the problem.
Doing some more tests, and if that works, merging this to main and probably calling this fixed. |
fxcoudert reports that the duplicate |
A couple weeks back, I did a 9.1 build with the qt6 variant, and it just wouldn't launch. And then a few days later, I did it again, and the build failed, maybe due to Qt 6.7 compatibility problems. I can't remember what the last state of it was. And there were GCC-related build problems with code 15.3 too. A new Xcode came out, and core Homebrew formula fixes for Qt 6.7; maybe things are fixed now. Let's just do some more builds to establish a baseline as of 2024-05-24.
Current setup on fortyhands (Intel macOS 14 VM, no system Homebrew), I've got it upgraded now, and uninstalled the system Homebrew:
I'm doing the builds in system Homebrew on angharad and eilonwy first, for speed and convenience; that may give a positive result that the launch failure has disappeared, which would be nice. Using qscintilla2-octapp for now. Then, building Octave.app on main systems where there's already a system Homebrew with an octave-octapp@9.1.0 and current qt6 in it. Results:
For Octave.app 9.1 w/ qt5 on Intel with a an existing system Homebrew, when I double-click the app icon, it "zooms in" but nothing else happens. When launching it from the command line, I get this error:
That's straight up talking about libs from both the system Homebrew and Octave.app Homebrew.
So how is the system Homebrew one getting pulled in? Is it linked at build time, directly or indirectly? Or do I have some run time directive that pulls in the system Homebrew one? The latter seems unlikely, especially in the case of a GUI launch from Finder. And I don't have
At least the error message has a hint:
So...
That's the first time I see the Maybe this could be diagnosed by dumping the DLL linkage for binaries in the Octave.app build, using |
Sub-task for getting Octave 9 building with Qt6 for the 9.0 builds and the 9.1 release.
TODO
References
Other references:
The text was updated successfully, but these errors were encountered: