Skip to content
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

iOS build needs migrating to xcode "modern build system" #3293

Open
softins opened this issue Jun 19, 2024 · 10 comments
Open

iOS build needs migrating to xcode "modern build system" #3293

softins opened this issue Jun 19, 2024 · 10 comments
Labels
tooling Changes to the automated build system

Comments

@softins
Copy link
Member

softins commented Jun 19, 2024

In PR #3292 we move from macos-11 to macos-12 because of the deprecation of macos-11 by Github.

In macos-12, the earliest versions of xcode available are 13.x.x. These versions fail by default if the project uses the "legacy build system".

PR #3292 includes a configuration setting to suppress the failure and deprecation warning, so that the build succeeds.

The "legacy build system" is completely removed in xcode 14, and so we need to update the iOS build to use the newer xcode "modern build system".

@ann0see
Copy link
Member

ann0see commented Jun 20, 2024

Do we know how to tell qt to use the modern build system?

@softins
Copy link
Member Author

softins commented Jun 22, 2024

Do we know how to tell qt to use the modern build system?

I don't know. Maybe Qt 6 already does so? Currently, we are still using Qt 5.15.2 for iOS.

@ann0see
Copy link
Member

ann0see commented Jun 22, 2024

Currently, we are still using Qt 5.15.2 for iOS.

Yes. due to gui bugs I commented on #2711 a while ago.

@pljones pljones added this to the Release 3.12.0 milestone Jun 29, 2024
@pljones pljones added iOS iOS runtime issue tooling Changes to the automated build system labels Jun 29, 2024
@pljones
Copy link
Collaborator

pljones commented Jun 29, 2024

How does this relate to #3065?

@ann0see
Copy link
Member

ann0see commented Jun 29, 2024

The issue to upgrade to qt6 is that qt6 has UI issues.

@pljones pljones assigned ann0see and unassigned ann0see Jun 29, 2024
@pljones
Copy link
Collaborator

pljones commented Jun 29, 2024

That doesn't really help explain how the migration of xcode to a modern build system relates to using Qt6.

We may not be able to do it because of some other issue. But neither this issue nor the PR I mention appears to be down to UI problems.

So what I'm asking is how the two do relate.

@ann0see
Copy link
Member

ann0see commented Jun 30, 2024

The open question is if we can move to the new build system without needing to change to Qt 6 or if we can move to Qt6 without GUI issues.

@pljones
Copy link
Collaborator

pljones commented Jul 1, 2024

The open question is if we can move to the new build system without needing to change to Qt 6 or if we can move to Qt6 without GUI issues.

That's two questions:

  • can we move to the new build system without needing to change to Qt 6
  • can we move to Qt6 without GUI issues

The second only comes into play if the answer to the first is "No". Do we know the answer? If not, the second doesn't come into play.

@pljones pljones removed the iOS iOS runtime issue label Jul 1, 2024
@softins
Copy link
Member Author

softins commented Jul 1, 2024

  • can we move to the new build system without needing to change to Qt 6

I don't think so, not easily. According to this page, the Qt fix to support the modern build system only appeared in 5.15 at the 5.15.6 release, which is not available free in binary form. The latest Qt 5 available free as binary is 5.15.2. For this reason, according to miurahr/aqtinstall#636 (comment), later versions of Qt 5.15 can't be installed via aqtinstall.

I haven't yet discovered which version of Qt 6 introduced support for the modern build system.

@ann0see
Copy link
Member

ann0see commented Aug 7, 2024

I made some progress with the UI being at least somewhat usable. See e.g #3343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Changes to the automated build system
Projects
Status: Backlog
Development

No branches or pull requests

3 participants