Skip to content

Qt6 Support: USE_QT6=AUTO|ON|OFF#1027

Open
jonoomph wants to merge 8 commits intodevelopfrom
qt6-support
Open

Qt6 Support: USE_QT6=AUTO|ON|OFF#1027
jonoomph wants to merge 8 commits intodevelopfrom
qt6-support

Conversation

@jonoomph
Copy link
Member

Adding Qt6 detection and compatibility, without breaking Qt5. -DUSE_QT6=AUTO|ON|OFF (default: AUTO; prefers Qt6 when available and CMake ≥3.16, ON forces Qt6, OFF forces Qt5). Also, a few version specific changes for API changes on Qt6, but it appears to work well.

…QT6=AUTO|ON|OFF` (default: `AUTO`; prefers Qt6 when available and CMake ≥3.16, `ON` forces Qt6, `OFF` forces Qt5). Also, a few version specific changes for API changes on Qt6, but it appears to work well.
@jonoomph
Copy link
Member Author

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 85.36585% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.33%. Comparing base (d43f71c) to head (bc4e41d).

Files with missing lines Patch % Lines
src/effects/LensFlare.cpp 0.00% 4 Missing ⚠️
src/FFmpegUtilities.h 83.33% 2 Missing ⚠️
tests/QtPlayer.cpp 89.47% 2 Missing ⚠️
src/FFmpegReader.cpp 94.11% 1 Missing ⚠️
src/Qt/PlayerDemo.cpp 0.00% 1 Missing ⚠️
src/Qt/VideoRenderer.cpp 0.00% 1 Missing ⚠️
tests/Caption.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1027      +/-   ##
===========================================
+ Coverage    63.99%   64.33%   +0.34%     
===========================================
  Files          208      209       +1     
  Lines        23014    23067      +53     
===========================================
+ Hits         14727    14841     +114     
+ Misses        8287     8226      -61     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…pixel byte array:

Example Code Snippets:
Python:
import openshot

r = openshot.FFmpegReader("/home/jonathan/Pictures/ChatGPT Image Mar 27, 2025, 09_50_56 AM.png")
r.Open()
f = r.GetFrame(1)
buf = f.GetPixelsBytes()
w, h = f.GetWidth(), f.GetHeight()
stride = f.GetBytesPerLine()

Ruby:
require "openshot"

r = Openshot::FFmpegReader.new("/home/jonathan/Pictures/ChatGPT Image Mar 27, 2025, 09_50_56 AM.png")
r.Open()
f = r.GetFrame(1)
buf = f.GetPixelsBytes
w = f.GetWidth
h = f.GetHeight
stride = f.GetBytesPerLine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant