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

Chatterino v2.5.2 (next release) will be the last to support Qt5 #5688

Open
pajlada opened this issue Nov 3, 2024 · 13 comments
Open

Chatterino v2.5.2 (next release) will be the last to support Qt5 #5688

pajlada opened this issue Nov 3, 2024 · 13 comments
Labels
information A post that exists to give the user information about a feature or change

Comments

@pajlada
Copy link
Member

pajlada commented Nov 3, 2024

We are nearing the release of Chatterino v2.5.2. We intend that release to be the last release that officially supports building with Qt5. This means we'll stop testing Qt5 builds, and we'll remove some code that we've retained in Chatterino specifically to build on Qt5.
If this is a problem for you or your package, let us know here.

Concerns

@pajlada pajlada pinned this issue Nov 3, 2024
@ashugg
Copy link

ashugg commented Nov 13, 2024

I haven't tried to follow the instructions yet, but it looks like BUILDING_ON_MAC.md needs an update. It refers to Qt 5.

@Mm2PL
Copy link
Collaborator

Mm2PL commented Nov 22, 2024

Which versions of Qt6 can we compile with? Debian 12 (current LTS, from backports repo) has 6.4.2, latest being 6.8.0. Is this a problem?

@Mm2PL Mm2PL added the information A post that exists to give the user information about a feature or change label Nov 22, 2024
@Nerixyz
Copy link
Contributor

Nerixyz commented Nov 22, 2024

Which versions of Qt6 can we compile with? Debian 12 (current LTS, from backports repo) has 6.4.2, latest being 6.8.0. Is this a problem?

If Debian and Ubuntu don't fix their Qt version, then we need 6.5.3 or later (#5517 (comment)). One might be able to use libc++ as an alternative. 6.5 is a decent requirement (all overviews) – 6.6 only adds some overloads for std::chrono afaik.

@pajlada
Copy link
Member Author

pajlada commented Nov 22, 2024

6.4.3 is the latest version to easily support macOS 10.15, I'd like to support that for another release

@Nerixyz
Copy link
Contributor

Nerixyz commented Nov 22, 2024

6.4.3 is the latest version to easily support macOS 10.15, I'd like to support that for another release

We don't build for that version. Our builds require at least macOS 14.0 right now and even a year ago, we required 13.0:

$ curl -LsSo c2.dmg https://github.com/Chatterino/chatterino2/releases/download/v2.5.1/Chatterino.dmg
$ 7z x c2.dmg
$ otool -l Chatterino2/chatterino.app/Contents/Frameworks/libssl.1.1.dylib
[...]
Load command 10
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 13.0
      sdk 13.3
   ntools 1
     tool 3
  version 857.1
[...]
$ otool -l Chatterino2/chatterino.app/Contents/Frameworks/libboost_random-mt.dylib
[...]
Load command 10
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 14.0
      sdk 14.4
   ntools 1
     tool 3
  version 1053.12
[...]
$ rm -rf Chatterino2
$ curl -LsSo c2.dmg https://github.com/Chatterino/chatterino2/releases/download/v2.4.5/Chatterino.dmg
$ 7z x c2.dmg
$ otool -l Chatterino2/chatterino.app/Contents/Frameworks/libssl.1.1.dylib
[...]
Load command 10
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 13.0
      sdk 13.3
   ntools 1
     tool 3
  version 857.1
[...]
$ otool -l Chatterino2/chatterino.app/Contents/Frameworks/libboost_random-mt.dylib
[...]
Load command 10
      cmd LC_BUILD_VERSION
  cmdsize 32
 platform 1
    minos 13.0
      sdk 13.0
   ntools 1
     tool 3
  version 820.1
[...]

It's not that it's impossible to support 10.15 now, it's that after more than one year, no one complained that builds for 10.15 were missing.

@Felanbird
Copy link
Collaborator

We don't build for that version. Our builds require at least macOS 14.0 right now and even a year ago, we required 13.0:

image
wat dis

@Nerixyz
Copy link
Contributor

Nerixyz commented Nov 23, 2024

image

wat dis

Just because the build is named that way doesn't mean it runs on that version (the macOS build is mostly opaque). I could also create a Chatterino-WindowsXP.zip. Even though the libraries say they require newer versions, the loader doesn't seem to check this.

Since there are no usage statistics on macOS, we can't say how many people are using each version (Apple stopped changing its user-agent). The argument I heard was "I know people on 10.15 and there's no urgency".

@Felanbird
Copy link
Collaborator

Felanbird commented Nov 23, 2024

There's 1 guy in the discord who constantly informs us when we break the 10.15 build, so as far as I know it currently still works

cc: #5483

@ashugg
Copy link

ashugg commented Dec 9, 2024

image
wat dis

Just because the build is named that way doesn't mean it runs on that version (the macOS build is mostly opaque). I could also create a Chatterino-WindowsXP.zip. Even though the libraries say they require newer versions, the loader doesn't seem to check this.

Since there are no usage statistics on macOS, we can't say how many people are using each version (Apple stopped changing its user-agent). The argument I heard was "I know people on 10.15 and there's no urgency".

Can confirm the 10.15 nightly is working on my 10.15.7 system (where it is very welcome)

@Nerixyz
Copy link
Contributor

Nerixyz commented Dec 9, 2024

Can confirm the 10.15 nightly is working on my 10.15.7 system (where it is very welcome)

Does the other nightly version work too? I don't know which Qt version this builds on because it's not built in CI.

@pajlada
Copy link
Member Author

pajlada commented Dec 9, 2024

Does the other nightly version work too?

Last we checked, no

I don't know which Qt version this builds on because it's not built in CI.

6.4.3 is the latest version to easily support macOS 10.15, I'd like to support that for another release

@Nerixyz
Copy link
Contributor

Nerixyz commented Dec 9, 2024

I don't know which Qt version this builds on because it's not built in CI.

6.4.3 is the latest version to easily support macOS 10.15, I'd like to support that for another release

So the Qt version of that build is 6.4.3 and this does not run on macOS 10.15? Why do we want to bump support to that version if these builds don't run on the desired version?

My intention with the previous question was to see if Qt imposes a hard requirement on the macOS version in that they use newer APIs or if it's a soft one (like what we have with Chatterino today) where they only set the deployment target but don't use newer APIs.

@pajlada
Copy link
Member Author

pajlada commented Dec 9, 2024

So the Qt version of that build is 6.4.3 and this does not run on macOS 10.15? Why do we want to bump support to that version if these builds don't run on the desired version?

My intention with the previous question was to see if Qt imposes a hard requirement on the macOS version in that they use newer APIs or if it's a soft one (like what we have with Chatterino today) where they only set the deployment target but don't use newer APIs.

I build two mac versions

  • Chatterino-10.15.dmg - Built with Qt 6.4.3 - works on 10.15
  • Chatterino.dmg - Built with Qt 6.7.0 - does not work on 10.15

When I last experimented with builds, Qt 6.4.3 was the last one I could confirm worked on 10.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information A post that exists to give the user information about a feature or change
Projects
None yet
Development

No branches or pull requests

5 participants