vtoexOwner
V2EX  ›  Qt

QtAV for mac 配置一直失败

  •  
  •   vtoexOwner · Jul 24, 2020 · 5760 views
    This topic created in 2151 days ago, the information mentioned may be changed or developed.

    我按文档配置了两次

    一种是下载 QtAV1.11.0-Player.dmg ,安装软件之后,执行 /Applications/player.app/sdk_osx.sh ~/Qt5.12.9/5.12.59/clang_64/lib

    一种是自己编译的包,执行 QtAV/tools/sdk_osx.sh QtAV_buildDir/lib_mac_x86_64_llvm/QtAV*.framework ~/Qt5.12.9/5.12.59/clang_64/lib

    然后在 .pro 文件里添加 QT += av avwidgets

    这时候工程是可以编译成功的,但在文件里添加头文件引用之后,如下

    #include <QtAV>
    #include <QtAVWidgets>
    

    再编译就会报错:

    ‘QtAV/QtAV_Global.h’ file not found

    求大神帮忙啊 🙆

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 00:13 · PVG 08:13 · LAX 17:13 · JFK 20:13
    ♥ Do have faith in what you're doing.