longturn / freeciv21

Develop your civilization from humble roots to a global empire
GNU General Public License v3.0
219 stars 42 forks source link

Move away from SDL2 and use Qt Sound/Multimedia instead #2104

Open jwrober opened 10 months ago

jwrober commented 10 months ago

Is your feature request related to a problem? Please describe. We have had some recent issues with SDL2 and SDL2_mixer autodetection and MacOS.

Describe the solution you'd like @lmoureaux suggested that we move away from this and use native Qt for this. Good to include as part of the migration to Qt6 #1198

Describe alternatives you've considered None. Removing a dependency on an external library is always a good idea.

Additional context None

lmoureaux commented 10 months ago

None. Removing a dependency on an external library is always a good idea.

Note that we'd technically be replacing the dependency. The main advantage is that everything would be more Qt-centric.

lmoureaux commented 10 months ago

Why migrate now: The Qt Multimedia API was overhauled in Qt6 and the SDL_mixer API was overhauled in SDL3.