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

编译android 版QtAV时,总是提示“:-1: error: avutil is required, but compiler can not find it” #1197

Open
zhangabvc opened this issue Apr 8, 2019 · 2 comments

Comments

@zhangabvc
Copy link

编译提示信息如下
16:02:35: 为项目QtAV执行步骤 ...
16:02:35: 正在启动 "D:\qt\Qt5.12.2\5.12.2\android_armv7\bin\qmake.exe" E:\qtdemocode\QtAV-master\QtAV.pro -spec android-clang "CONFIG+=debug" "CONFIG+=qml_debug"

系统找不到指定的路径。
系统找不到指定的路径。
Project MESSAGE: BUILD_DIR=E:/qtdemocode/build-QtAV-Android_for_armeabi_v7a_Clang_Qt_5_12_2_for_Android_ARMv7_c2e2cb-Debug
Project MESSAGE: MAKEFILE_GENERATOR=UNIX
Project MESSAGE: target arch:
Project MESSAGE: target arch features:
Project MESSAGE: To disable config tests, you can use 1 of the following methods
Project MESSAGE: 1. create '.qmake.conf' in the root source dir, add 'CONFIG += no_config_tests'(Qt5)
Project MESSAGE: 2. pass 'CONFIG += no_config_tests' or '-config no_config_tests' to qmake
Project MESSAGE: 3. add 'CONFIG += no_config_tests' in E:/qtdemocode/QtAV-master/user.conf
Project MESSAGE: To manually set a config test result to true, disable config tests and enable config_name like above
Checking for avutil... no
Project ERROR: avutil is required, but compiler can not find it
16:02:36: 进程"D:\qt\Qt5.12.2\5.12.2\android_armv7\bin\qmake.exe"退出,退出代码 3 。
Error while building/deploying project QtAV (kit: Android for armeabi-v7a (Clang Qt 5.12.2 for Android ARMv7))
When executing step "qmake"

@zhangabvc
Copy link
Author

我是按着这个 https://github.com/wang-bin/QtAV/wiki/Build-QtAV#build-for-android-on-windows 来做的,不知道为什么还是这样报错

@stereomatchingkiss
Copy link

1 : 有没有在path加上“mingw32-exe"的path
2 : 请透过cmd编译,我透过QtCreator也有同样的错误,不过cmd可以

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