我在OSX上启动应用程序时看到此错误
dyld: Library not loaded: @executable_path/../Frameworks/QtDeclarative.framework/Versions/4/QtDeclarative
Referenced from: /test/TestApp
Reason: Incompatible library version: TestApp requires version 4.8.0 or later, but QtDeclarative provides version 4.7.0
The program has unexpectedly finished.
在项目中,我选择了构建配置为Qt 4.8.0和Qt版本为Qt 4.8.0?
答案 0 :(得分:2)
您的QtDeclarative(Qt Quick)库似乎不是最新的。使用SDK维护工具(通常位于Qt安装的根目录中)安装4.8.0版本的库。