Skip to content

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

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

Qt6 Support: USE_QT6=AUTO|ON|OFF#1027
jonoomph wants to merge 5 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 73.52941% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.97%. Comparing base (47b3081) to head (c7b36d9).

Files with missing lines Patch % Lines
src/effects/LensFlare.cpp 0.00% 4 Missing ⚠️
tests/QtPlayer.cpp 89.47% 2 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    59.60%   59.97%   +0.37%     
===========================================
  Files          206      207       +1     
  Lines        20374    20398      +24     
===========================================
+ Hits         12143    12233      +90     
+ Misses        8231     8165      -66     

☔ 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