mpogue2 / SquareDesk

Fully-featured music player and sequence designer, designed for square dance callers
10 stars 4 forks source link

Feature: upgrade system for SDK 13 or greater on X86 #1142

Open mpogue2 opened 2 weeks ago

mpogue2 commented 2 weeks ago

Big Sur can't compile top of tree (SquareDesk v1.0.9), because Qt6.7.2 requires at least version 13 of the MacOS SDK, and Big Sur can only download Developer Tools to version 12.1 .

I have to upgrade to Ventura at least, maybe farther. Trying that now.

mpogue2 commented 2 weeks ago

OK, so far I had to do this:

Seems to run and play OK (11% CPU utilization while playing).
Needs more testing, but that's enough for one evening!

Only thing wrong I see is a phantom moveable window just below the title bar. I could swear this was something I turned off about 6 years ago...

Might be this: https://stackoverflow.com/questions/43287037/qt-how-get-rid-of-grey-bar-at-the-top-of-the-window-below-the-title-bar

mpogue2 commented 2 weeks ago

And this: https://github.com/GNS3/gns3-gui/issues/2968

mpogue2 commented 3 days ago

Commit e28cb3540082b05d5910441bed293c457693ea6f bumped up the QMAKE_MAC_SDK to macosx14.5, so we can probably close this one.

@danlyke Does this now require us to compile the X86 build on Sonoma? I think that's fine, I just need to understand whether I need to upgrade the older Ventura laptop I was using for X86 compilation.

danlyke commented 3 days ago

Oh, sorry, I've been using that to compile on Sonoma and checked it in by accident. Feel free to revert it for your builds if you need to. Maybe there's a way to detect it from the environment so that we don't have to keep messing with it?

mpogue2 commented 3 days ago

@danlyke For me the question is more about testing than building. If I test on Ventura, I am pretty confident it will work on both Ventura and Sonoma, but I'm less certain it will work correctly on earlier releases of MacOSX. If I upgrade my X86 MacBook to Sonoma, I won't be able to test on Ventura anymore (or maybe I'd have to test on just a virtual machine running on my M1? Would that work?).

If we require Ventura or later (I just essentially did this for X86 Macs, since I replaced Big Sur with Ventura on my laptop), then we're limited to machines from 2017 on. If we require Sonoma or later, I would upgrade my X86 laptop to Sonoma, and we're limited to machines from 2018 on. Is 6 years back good enough?

We don't have many X86 users (maybe only one or two?), so yeah I think maybe it is... What do you think? Onward we go, and require Sonoma for both M1 and X86? That would definitely be a "simplifier" for me.