qgroundcontrol
qgroundcontrol copied to clipboard
Fix video output on Qt6 for Windows platform
Fix video output on Qt6 for Windows platform
Description
Fixes #11020 for me. It's due to changes in Qt6: https://doc.qt.io/qt-6/windows-graphics.html
Test Steps
- Build
- Run and enable video reception in the settings (for example, RTSP)
- Start video streaming to QGroundControl
Checklist:
- [x] Review Contribution Guidelines.
- [x] Review Code of Conduct.
- [x] I have tested my changes.
Related Issue
#11020
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Which build system and which gstreamer are you using?
Which build system and which gstreamer are you using?
I'm building with Qt Creator 13.0.0 / Desktop Qt 6.6.1 MSVC2019 64bit.
GStreamer: currently I have 1.24.2, but had the recommended version and the situation was the same.
Replaced by #11678
Video output is also not working for Linux platform. Are there any recommended changes?
It works fine on Ubuntu 24.04 so it's probably something related to gstreamer version. Somebody backported the gstreamer plugin to get it to work on Ubuntu 20.04 and I have no idea if it is correct or not.