Qt Multimedia QAbstractVideoFilter Missing in Qt 6.9
-
Hi everyone,
I’m working on a Qt Multimedia-based barcode scanning project using SCodes ZXing Barcode Wrapper with Qt 6.9 (MinGW). The project relied on QAbstractVideoFilter for video frame processing, but with Qt 6.9 I encountered this error: fatal error: QAbstractVideoFilter: No such file or directory
Project Details:
Qt Version: Qt 6.9Compiler: MinGW 64-bit
Build System: CMake
Modules Used: Qt Multimedia, Qt Quick, SCodes, ZXing
Troubleshooting So Far:- Verified Qt Multimedia is installed via Qt Maintenance Tool.
2 Explicitly linked Qt Multimedia in CMake: "
find_package(Qt6 REQUIRED COMPONENTS Multimedia)
target_link_libraries(my_project PRIVATE Qt6::Multimedia)
"
Any recommended fixes for barcode scanning with Qt Multimedia in Qt 6.9?
If anyone has solved this, your insights would be incredibly helpful!
Thanks in advance!
- Verified Qt Multimedia is installed via Qt Maintenance Tool.
-
I ported the application, but the barcode can't be scanned using SCodes ZXing Barcode Wrapper to Qt 6, but I am encountering difficulties when trying to decode the barcode after processing video frames.
The project originally used QAbstractVideoFilter (which was removed in Qt 6) to process video frames. I successfully ported the code by replacing QAbstractVideoFilter with other video frame processing mechanisms, but I am now unable to read the barcode from the frames.
" Problem:
After porting the code, the barcode isn’t detected even though the video frame is processed correctly.
The SBarcodeDecoder works in the sense that it doesn't throw exceptions anymore, but it also doesn't detect any barcodes.
-
I ported the application, but the barcode can't be scanned using SCodes ZXing Barcode Wrapper to Qt 6, but I am encountering difficulties when trying to decode the barcode after processing video frames.
The project originally used QAbstractVideoFilter (which was removed in Qt 6) to process video frames. I successfully ported the code by replacing QAbstractVideoFilter with other video frame processing mechanisms, but I am now unable to read the barcode from the frames.
" Problem:
After porting the code, the barcode isn’t detected even though the video frame is processed correctly.
The SBarcodeDecoder works in the sense that it doesn't throw exceptions anymore, but it also doesn't detect any barcodes.
@track said in Qt Multimedia QAbstractVideoFilter Missing in Qt 6.9:
The SBarcodeDecoder works in the sense that it doesn't throw exceptions anymore, but it also doesn't detect any barcodes.
Did you check the content of the frames you're passing to SBarcodeDecoder? Store them as images and see what's inside.