Assuming you're running this at root, immediately when the dropdown box has a changed value, it installs the required language packs, updates the system locale, then kicks off an SDDM reboot.
This needs lots of error handling and UX to ensure the user doesn't just hold down the down arrow and crash their computer.
To be consistent in app launching, port back to Qt 5. Also, bump the C++ standard to 23, well, just because, and make the installer prompt display on both monitors, instead of just one.
The original maximum window size of 1920x1080 causes the window to not
fill the screen (and not even display all content) on large screens.
Removing the maximum window size makes the prompt display properly on
large screens.
Qt:KeepAspectRatio results in the background image becoming strangely
mangled. Changing to Qt::IgnoreAspectRatio results in scaling behavior
very similar to the behavior used by PCManFM-Qt by default when scaling
wallpapers, resulting in the image sometimes looking "stretched" or
"squished", but never mangled.