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

Document Qt5 build and install for Linux/BSD #802

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

YakoYakoYokuYoku
Copy link
Member

@YakoYakoYokuYoku YakoYakoYokuYoku commented Jun 8, 2022

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. Additionally, make sure you've done all of these things:

PR Description

What type of PR is this? (Check one of the boxes below)

  • My change requires a change to the documentation
    • I have updated the documentation accordingly

What does this pull request do?

This was due job from the Qt5 pulls, I've priotized Qt5 over Qt4 for obvious reasons and in the hopes that more people can test the RB-2.5 branch.

Show a few screenshots (if this is a visual change)

N/A.

Have you tested your changes (if applicable)? If so, how?

Build Natron according to the doc.

Futher details of this pull request

I'll try to work on the BSD documentation as it's very similar to Linux done. For the other two platforms, Windows and MacOS, I don't have the sufficient knowledge about it so other devs are invited to modify their instructions.

@YakoYakoYokuYoku YakoYakoYokuYoku mentioned this pull request Jun 8, 2022
@rodlie
Copy link
Contributor

rodlie commented Jun 10, 2022

Looks ok, but why remove CentOS? the installation instructions for Fedora and CentOS are the same.

  • RHEL/CentOS 7 has Qt 5.12 (and 4.8.7)
  • RHEL/CentOS 8 had Qt 5.12 (may have changed since last time I used it)
  • RHEL/CentOS 9 has Qt 5.15(.2+patches)

@YakoYakoYokuYoku
Copy link
Member Author

Looks ok, but why remove CentOS? the installation instructions for Fedora and CentOS should be the same.

  • RHEL/CentOS 7 has Qt 5.12 (and 4.8.7)
  • RHEL/CentOS 9 has Qt 5.15(.2+patches)

CentOS was removed from the documentation due to reaching its EOL on 2021 New Year's Eve. We could point users to Rocky Linux instead, but I think they'll figure out that they could follow Fedora instructions.

@rodlie
Copy link
Contributor

rodlie commented Jun 10, 2022

CentOS was removed from the documentation due to reaching its EOL on 2021 New Year's Eve.

  • CentOS Linux 7 is still maintained and is the current vfxplatform target
  • CentOS Stream 8 is still maintained and will probably be the vfxplatform target next year

INSTALL_LINUX.md Outdated Show resolved Hide resolved
INSTALL_LINUX.md Outdated Show resolved Hide resolved
INSTALL_LINUX.md Outdated Show resolved Hide resolved
@YakoYakoYokuYoku
Copy link
Member Author

I've been looking at the VFX Reference Platform site but it doesn't mention anything about CentOS being a target. I'll modify the documentation to point at Fedora/RHEL and derivatives to at least clear the situation for Enterprise Linux.

@YakoYakoYokuYoku YakoYakoYokuYoku changed the title Document Qt5 build and install for Linux Document Qt5 build and install for Linux/BSD Jun 10, 2022
@devernay
Copy link
Member

devernay commented Jun 10, 2022

The reason for picking CentOS as the build platform is that it's the only platform (to the best of my knowledge) that allows building binaries that can run on every currently supported Linux distrib.

Through the Redhat Developer Toolset, we get modern tool versions, including GCC, and the binaries can run even on a Linux that has a centos7-era libstdc++ and libgcc. It's using lots of tricks to do so, which are probably documented somewhere.

This is the reason why it's the reference build platform for Natron, and it's probably the same platform that every software company in the VXF reference platform consortium (which we are not part of) uses. Take a look at every software vendor requirements: what's the oldest supported Linux distribution? CentOS 7.

See:

@YakoYakoYokuYoku
Copy link
Member Author

The reason for picking CentOS as the build platform is that it's the only platform (to the best of my knowledge) that allows building binaries that can run on every currently supported Linux distrib.

Through the Redhat Developer Toolset, we get modern tool versions, including GCC, and the binaries can run even on a Linux that has a centos7-era libstdc++ and libgcc. It's using lots of tricks to do so, which are probably documented somewhere.

This is the reason why it's the reference build platform for Natron, and it's probably the same platform that every software company in the VXF reference platform consortium (which we are not part of) uses. Take a look at every software vendor requirements: what's the oldest supported Linux distribution? CentOS 7.

Will take into consideration when using GitHub actions for releases.

On another note there's #803 that removes the step of running Shiboken manually.

@YakoYakoYokuYoku YakoYakoYokuYoku requested a review from rodlie June 10, 2022 19:46
@YakoYakoYokuYoku YakoYakoYokuYoku merged commit 7c2dcc2 into RB-2.5 Jun 10, 2022
@YakoYakoYokuYoku YakoYakoYokuYoku deleted the docs-linux-qt5 branch June 10, 2022 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants