NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.54k stars 332 forks source link

Fixes to get Qt5 working on Windows. #872

Closed acolwell closed 1 year ago

acolwell commented 1 year ago

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)

What does this pull request do?

This change fixes various Qt5 related build busters on Windows.

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

Yes. I built Qt4 and Qt5 installers on Windows in a MSYS2 environment with tools/jenkins/launchBuildMain.sh. I was able to unzip the generated zip files and launch Natron. I verified I was able to load a simple project in each of these builds, but I did not do exhaustive testing to verify all features work with Qt5.

acolwell commented 1 year ago

Great! Does that mean you are able to make a Qt5 windows build? Does it have issue #846 ? Yes. I am able to make a Qt5 windows build. It does have the issue mentioned on #846. I can look into a solution for that in a follow up PR if you'd like.

devernay commented 1 year ago

846 was fixed by https://github.com/NatronGitHub/Natron/pull/873

devernay commented 1 year ago

@acolwell @rodlie are you both able to make a Qt5 win build? Can we attach one to https://github.com/NatronGitHub/Natron/releases/tag/v2.6.0-alpha1 for testing? Does someone volunteer to do a Linux build as well? The natron-sdk docker image is fairly up-to-date and have Qt5, but the packaging scriptsprobably need to be reworked for Qt5

rodlie commented 1 year ago

are you both able to make a Qt5 win build?

Currently I only have a server that can produce RB-2.4 and RB-2.5 win builds for Qt4. I can probably setup a new MSYS env and start testing, but I don't know how much free time I have this week.

acolwell commented 1 year ago

are you both able to make a Qt5 win build?

Currently I only have a server that can produce RB-2.4 and RB-2.5 win builds for Qt4. I can probably setup a new MSYS env and start testing, but I don't know how much free time I have this week.

I'm happy to setup a fresh MSYS env to do an official RC build. I was doing fresh installs quite often when I was trying to get my build environment setup. I haven't gotten breakpad working yet in my dev builds so I guess I'll have to figure that out.

I was wondering if you all are interested in some changes that I have which rename some of the MINGW packages with a natron_ prefix so that they are easier to differentiate from the official packages. For me at least, it makes it way easier to keep track of what Natron specific stuff I had to install in my MSYS environment.

rodlie commented 1 year ago

I'm happy to setup a fresh MSYS env to do an official RC build.

That would be great :)

I haven't gotten breakpad working yet in my dev builds so I guess I'll have to figure that out.

For some reason it must be built on Windows 8 or lower, if I build breakpad (included with Natron) on Windows 10(+) all crashes are ignored. Same with building it in docker for Linux, will not work. If I build for Linux in an VM or on actual hardware it works.

I modified Natron to produce local crash reports some time ago ...

but never finished it due to this issue.

I was wondering if you all are interested in some changes that I have which rename some of the MINGW packages with a natron_ prefix so that they are easier to differentiate from the official packages

I have no problem with that.