Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QtAV doesn't build with Qt 6.2 #1406

Open
awesomeerictech opened this issue Jan 14, 2022 · 5 comments
Open

QtAV doesn't build with Qt 6.2 #1406

awesomeerictech opened this issue Jan 14, 2022 · 5 comments

Comments

@awesomeerictech
Copy link

QtAV, Qt version and platform

or commit id if not using release version

Reproduction steps

Expected behavior

Actual behavior

Log file

set environment var QTAV_LOG=all or C++ api QtAV::setLogLevel(All) to enable log.

For Player and QMLPlayer example app, choose log level all in config page.

Sample files (optional)

@cgilles
Copy link
Contributor

cgilles commented Feb 2, 2022

Hi,
For digiKam project we use QtAv to play video in application.
We have started to port digiKam to Qt6. Of course QtAv need to compile with Qt6.
I just generated a patch to support pure Qt 6.2.3 API for our AppImage continuous deployment server. File is here :

https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/3rdparty/ext_qtav/qtav-qt6-pure.patch

Best
Gilles Caulier

@awesomeerictech
Copy link
Author

I have realized that your project doesn't use QML , how can i generate a patch to enable me to create qtav qml-based application

@awesomeerictech
Copy link
Author

QtAV doesn't even work with ffmpeg 5 , i have given up in it.

@cgilles
Copy link
Contributor

cgilles commented Feb 3, 2022

Hi,
digiKam do not use QML as it fully based on C++. No need to increase a large code complexity with this stuff. C++ is always optimum than QML.
To create a patch, use github Merge Request feature. Fork QtAv in your account, patch code and commit. And end request a merge with original QtAv repository through the web interface. This is the standard workflow.
If you wan to patch QML part of QtAv, you can check the unit tests first based on QML.
Best
Gilles Cauiler

@awesomeerictech
Copy link
Author

personally i need to use QML because i am targeting different devices, i can't create user interface with Widgets .

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

No branches or pull requests

2 participants