Qt configure warning No backend for low level audio found

huangapple go评论79阅读模式
英文:

Qt configure warning No backend for low level audio found

问题

I am setting up a cross-compile environment for Raspberry Pi (compiling on AlmaLinux 9). When I run the Qt configure program on AlmaLinux it succeeds but I get error:

WARNING: No backend for low level audio found.

What does this warning mean? What is missing, and is the problem on the Raspberry or the AlmaLinux computer? How do I fix this?

英文:

I am setting up a cross-compile environment for Raspberry Pi (compiling on AlmaLinux 9). When I run the Qt configure program on AlmaLinux it succeeds but I get error:

WARNING: No backend for low level audio found.

What does this warning mean? What is missing, and is the problem on the Raspberry or the AlmaLinux computer? How do I fix this?

答案1

得分: 1

你可以使用以下命令来搜索目录中的文件以查找一个字符串:

grep -r "No backend for low level audio found." ../qt-everywhere-src-6.5.1/

响应将是:

../qt-everywhere-src-6.5.1/qtmultimedia/src/multimedia/configure.cmake:    MESSAGE "No backend for low level audio found."

如果你查看 qt-everywhere-src-6.5.1/qtmultimedia/src/multimedia/configure.cmake 中的内容,你会看到:

qt_configure_add_report_entry(
    TYPE WARNING
    MESSAGE "No backend for low level audio found."
    CONDITION NOT QT_FEATURE_alsa AND NOT QT_FEATURE_pulseaudio AND NOT QT_FEATURE_mmrenderer AND NOT QT_FEATURE_coreaudio AND NOT QT_FEATURE_wmsdk AND NOT ANDROID AND NOT WASM
)

这意味着你的系统上没有找到提到的任何库。

运行 sudo apt-get build-dep qt6-multimedia-dev 应该会显示依赖项,除了与 qt 无关的库。

英文:

You can use the following command to search a directory files for a string:

grep -r "No backend for low level audio found." ../qt-everywhere-src-6.5.1/

and the response will be:

../qt-everywhere-src-6.5.1/qtmultimedia/src/multimedia/configure.cmake:    MESSAGE "No backend for low level audio found."

if you look inside qt-everywhere-src-6.5.1/qtmultimedia/src/multimedia/configure.cmake

you see:

qt_configure_add_report_entry(
    TYPE WARNING
    MESSAGE "No backend for low level audio found."
    CONDITION NOT QT_FEATURE_alsa AND NOT QT_FEATURE_pulseaudio AND NOT QT_FEATURE_mmrenderer AND NOT QT_FEATURE_coreaudio AND NOT QT_FEATURE_wmsdk AND NOT ANDROID AND NOT WASM
)

which means none of the mentioned libraries were found on your system.

running sudo apt-get build-dep qt6-multimedia-dev should reveal the dependancies, anything other than qt related libraries.

huangapple
  • 本文由 发表于 2023年5月7日 06:11:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76191389.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定