aqtinstall
aqtinstall copied to clipboard
Issue with QMediaMetaData and media format
Describe the bug I have install Qt 6.4.2 using aqt and I have the same issue that the one described in QTBUG-110883.
It seems that some media format (at least FLAC) are not supported by Qt when installed with aqt.
To reproduce
- Install
aqt
usingaqt install-qt linux desktop 6.4.3 -m all
- Download https://bugreports.qt.io/secure/attachment/136780/QMediaMetaData_flac.zip
- Unzip QMediaMetaData_flac.zip
-
cd QMediaMetaData_flac
-
mkdir build
-
cd build
-
cmake ..
-
make -j4
-
./QMediaMetaData_flac
It prints
QMediaMetaData::Url QVariant(QUrl, QUrl("qrc:/test.flac")) QMediaMetaData::Duration QVariant(qlonglong, 0) QMediaMetaData::FileFormat QVariant(QMediaFormat::FileFormat, QMediaFormat::UnspecifiedFormat)
Expected behavior
It should prints some usefull information related to test.flac
Desktop (please complete the following information):
- OS: Ubuntu 22.04 LTS 64-bits
- aqtinstall(aqt) v3.1.3 on Python 3.10.6 [CPython GCC 11.3.0]
There's a lot of context missing here.
Please fill out the following:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- install
aqt
using this command - run
aqt
with this command - See error
Expected behavior A clear and concise description of what you expected to happen.
aqt
output
Add program output to help explain your problem.
paste program output here
Desktop (please complete the following information):
- OS: [e.g. windows]
-
aqt
version [paste the output from the commandaqt version
orpython -m aqt version
]
Additional context Add any other context about the problem here.
I have added some information. I think it is enough to reproduce
The response to the issue you linked suggested running lddtree
against libQt6Multimedia.so.6
. Can you show us the output of that command please? You should be able to find this file at INSTALL_DIR/QT_VERSION/gcc_64/lib/libQt6Multimedia.so.6
.
I attempted to build your QMediaMetaData_flac project, on a fresh VM of Ubuntu 22.04, and I can reproduce the problem with Qt installed via aqtinstall
. I also tried to build the project using Qt installed with the official GUI Qt installer, and that causes the problem as well.
I don't know what is causing this, but I am certain that this issue has nothing to do with aqtinstall
because Qt 6.4.3 installed with the official installer has the same issue.
FYI, I tried lddtree libQt6Multimedia.so.6
, and it doesn't show any broken links. If I were you, I'd go back to the Qt bug tracker and tell them to try using their own installer on Ubuntu 22 instead of Arch; that should reproduce the problem.
I have installed Qt 6.5.0 with aqt and the problem disappeared. Yet, it is still present for older Qt version (6.4.*). This problem has been reported upstream.