Use older version of Qt#964
Conversation
This will support macOS < 10.13. Fixes jamulussoftware#959
|
Seems that it doesn’t break the app on Big Sur. I think that’s enough. |
softins
left a comment
There was a problem hiding this comment.
Builds and installs fine on Mojave, 10.14. I can't test it with an earlier macOS.
|
Has anyone checked to see if Github offer an earlier MacOS builder? It's probably worth always running the minimum and latest versions of a platform we intend to say we support. MacOS, of course, being the right pain in terms of constant change. |
|
Does this also need changes to |
|
Just got a positive feedback from the tester. Seems to work. Not sure if we can use an even earlier version of Qt, but that should be possible. |
|
Should we try qt 5.9 (but for me it seems to be quite old). It might even support macOS 10.10 |
Not necessarily.
Do we know which version of Qt corrados used to compile the binaries? |
On my PC, the Qt DLLs bundled with Jamulus 3.6.2 are version 5.15.1. That works for me on Win7. On my Mac, looking in |
|
Ok. So we could probly also use qt 5.9. What about 5.9.9 does it work? |
Probably, as it's just a minor version number change. I could try it tomorrow. |
|
Ok. Great! |
|
OK, I tried 5.9.9 here pljones#7 and it failed.... but for the wrong reason. The MacOS build ended with: and still claimed to have worked. I'm trying a re-run now... |
Just been watching it, and that was just a warning, that an additional directory it was told to look for libs when linking wasn't found. So long as it still found all the libs it wanted to link, it shouldn't matter. If it couldn't, it would have been a hard error. It looks like the warning is because it said |
|
I've just changed 5.12.9 to 5.9.9 and tried the build from scratch on my Mac. Worked fine, and installed and ran successfully too. The |
|
Just as an interesting data point, MuseScore, which uses Qt, advertises itself as compatible with macOS 10.10 (Yosemite) onwards and Windows 7 onwards. The Mac build uses Qt 5.9.8 (although I'm sure 5.9.9 would be equally compatible, as a minor version change only), and the PC build uses Qt 5.9.9 |
|
I've just closely examined the build log on my Mac, and it shows exactly the same error message, so it's not a problem with Github or the action. This is the link step: Just investigating... |
|
It appears to be something hard-coded within the homebrew installation of Qt. I would just ignore it, it's benign. |
Are you really using homebrew here? I thought (at least the GH Action) used aqt to install Qt? |
I think aqt must be using it behind the scenes, as I found the references in |
|
That's really strange. At least in this PR I moved away from homebrew. The path should also be |
|
I don't fully understand it yet, but I also have a 5.12.9 under |
|
Strange. Maybe you have two versions of Qt installed? Have a look at this gh actions run: https://github.com/ann0see/jamulus/actions/runs/555358355 I just pushed the 5.9.9 version. Let's wait and see if it works. |
|
Yes. It seems to work (although I haven't tested the binary yet.) |
The only way I have installed those two versions of Qt is by running the |
|
That's really strange. I'm quite sure that no other script (at least from which I know) installs it via brew. |
|
OK - @ann0see do you want to change the CodeQL to use 5.9.9 in this same PR? That should be kept in line (I really wish it was just all part of the same work flow). |
|
Hmm. I think @nefarius2001 is working on something (at least I saw some activity on his repo). Yes, CodeQl and this should both use the same version of Qt, I think. Can somebody please check if the produced binary on my repo works on older macOS versions? |
|
true, I create #978 to give a preview |
|
OK, I've tracked down where the homebrew stuff comes from on my Mac. I installed Qt 5.15.1 in October using Consequently, when So the homebrew stuff is a red herring, but the installed versions of Qt under |
Are we going to close this and proceed there? |
|
Yes. I'll close this now. |
pljones
left a comment
There was a problem hiding this comment.
I don't like the commented out brew lines but that's non-blocking.
|
I'm not sure: since nefarius's PR is almost finished, we could just close this or do you want this to be merged? |
|
Wait for now. |
This will support macOS < 10.13.
Fixes #959
Although I didn't receive an answer yet, I think this doesn't break anything.