-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Question: Does QtAV work well with Qt 6.x? #1389
Comments
I'm trying to build QtAV on Qt 6.2, but had no success so far. |
You can try https://github.com/wang-bin/mdk-sdk, it's designed to support any app framework, including qt. |
With Qt 6.3 compile fails |
My personal feedback : cmake port from qmake is incomplete. Use qmake in all cases. I'm sure : as QtAV development is stopped since february, i fork the project in digiKam core and review, patch, and improve the implementations. Look the README here for details: https://invent.kde.org/graphics/digikam/-/tree/master/core/libs/video/qtav My cmake port is complete. I also fix plenty of static analyzer reports. My code compile under Qt6, but i drop QML as i don't need for digiKam. Best Gilles Caulier |
@cgilles Yes , seems to be the case .. CMakeLists still finding Qt5 modules, still qmake also fails with qt6 |
Note: my port to Qt6 is complete. QtAV original code port to Qt6 was partial. Look weel the README, i explain well all tasks done over QtAV source code. |
Qt 6.2.4 / qmake failes this error |
I already fixed the problem: Gilles Caulier |
@cgilles , thank you unfortunately my primary interest is the QML port , you say its not included in your fix ? |
Won't support qt6 qml because qt6 turns to use rhi instead of opengl. Rewritting the whole rendering code is required to support rhi. You can try this https://github.com/wang-bin/mdk-examples/tree/master/Qt/qmlrhi |
yes, with digiKam , we don't use QML code in favor of C++, for speed reasons, and to be homogeneous, as digiKam is more than 1.5 M C++ code lines. But you can backport my fixes in a personal QtAV port including original QML code, with your fixes for these implementations. Gilles Caulier |
I'm thinking about updating my code from Qt 5.15 to Qt 6.2. But I don't know if QtAV will work with Qt 6.2. Has anyone successfully built QtAV with Qt 6.1/6.2?
Thanks.
The text was updated successfully, but these errors were encountered: