Skip to content

Conversation

@TheForce172
Copy link

@notimaginative
Copy link
Contributor

Would this work with the Qt6 version in ubuntu 22.04 (qt 6.2.4)?

I'm working on updating, fixing, and optimizing the build image and will move to 22.04 with that. I can drop a layer and greatly reduce complexity if the base ubuntu packages are suitable.

@TheForce172
Copy link
Author

TheForce172 commented Oct 12, 2025

Not really. 6.2 is way way out of date. And the whole point of moving to QT6 is to get us back in supported versions. Just pinning us to another outdated version not even in LTS kind of defeats the whole point of that.

I'd say the minimum version we could support would be 6.8

@notimaginative
Copy link
Contributor

This is more of a general packaging question, but Is Qt dynamically linked by QtFRED?

I'm curious about whether we're going to be required to bundle Qt6 with official builds or not (assuming that's even possible). That applies to Qt5 as well obviously, but I'm updating packaging stuff for the eventual SDL3 merge and need to sort this out.

@TheForce172
Copy link
Author

TheForce172 commented Oct 12, 2025

Yes. Qt5/6 dlls need to be include in the release package at least on windows. On Linux I "think" we use the users system version but don't hold me to that.

On windows/mac the copying of the dlls is done by cmake during the build process and there just added to the zip.
https://github.com/scp-fs2open/fs2open.github.com/pull/7029/files#diff-d91e2a248c82a365516548dd1a973fea7108701ce18f315bcd809676f5ae59b9 line 71 of the new code is what handles it.

@notimaginative
Copy link
Contributor

Would there be an issue building with qt 6.9.2 and running with qt 6.2.4? If so then we can't rely on the system version on Linux and will have to figure out a way to bundle the libs.

@TheForce172
Copy link
Author

TheForce172 commented Oct 12, 2025

I'm afraid going to have to answer here "Don't ask me I'm a windows dev". I'm afraid the linux build chain is an arcane art to me and I got this working only by banging rocks together till it worked.

Effectively for linux I took what we had for QT5 and scribbled out 5 and wrote 6. if you want to understand it you'd have to talk to the person who wrote it in the first place.

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.

2 participants