pv: adjust application source code for Qt6 support Prepare application source code (C++ programming language files) for Qt6 compatibility. Implement alternative code paths where the API has changed compared to Qt5. This unbreaks Mac OSX 12 builds with homebrew. This change is based on work that was submitted by Dominik Sliwa <redacted>.