Skip to content

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

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

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

Conversation

@jonoomph
Copy link
Copy Markdown
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
Copy Markdown
Member Author

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 67.74194% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.70%. Comparing base (bda1d68) to head (1141745).

Files with missing lines Patch % Lines
src/QtImageReader.cpp 0.00% 11 Missing ⚠️
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    65.39%   65.70%   +0.31%     
===========================================
  Files          210      211       +1     
  Lines        23890    23931      +41     
===========================================
+ Hits         15623    15725     +102     
+ Misses        8267     8206      -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
@github-actions github-actions bot added the conflicts A PR with unresolved merge conflicts label Mar 22, 2026
@github-actions
Copy link
Copy Markdown

Merge conflicts have been detected on this PR, please resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicts A PR with unresolved merge conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant