英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论