freeciv21 icon indicating copy to clipboard operation
freeciv21 copied to clipboard

Move away from SDL2 and use Qt Sound/Multimedia instead

Open jwrober opened this issue 1 year ago • 2 comments

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

jwrober avatar Dec 31 '23 00:12 jwrober

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 avatar Dec 31 '23 00:12 lmoureaux

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

lmoureaux avatar Jan 01 '24 03:01 lmoureaux