Qt 4.8 beta和Mac OSX Lion,Phonon错误 [英] Qt 4.8 beta and Mac OSX Lion, Phonon error

查看:135
本文介绍了Qt 4.8 beta和Mac OSX Lion,Phonon错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

成功安装mac OS 10.7后,我尝试编译我的qt 4.7项目。



我有许多警告不支持的mac os x版本。然而,我现在有一个链接器问题使用Phonon:





$ b b

  dyld:未加载库:/Users/pulseagent/repos/build2/Desktop/Qt/4.8.0/gcc/lib/QtDBus.framework/Versions/ 4 / QtDBus 
引用源自:/Users/kikohs/QtSDK/Desktop/Qt/4.8.0/gcc/lib/phonon.framework/Versions/Current/phonon
原因:不兼容的库版本:phonon requires版本4.8.0或更高版本,但QtDBus提供版本4.7.0

你知道我可以修复这个?



谢谢!

解决方案

使用Qt 4.7.3,删除我入侵了qtglobal.h并添加了Mac 10.7作为支持版本的警告。



似乎运行正常...


After a successful install of mac OS 10.7 I tried to compile my qt 4.7 project.

I had many warnings of "unsupported mac os x version". I thus decided to use Qt 4.8 beta and now, all the warnings are gone.

However, I now have a linker problem using Phonon:

dyld: Library not loaded:/Users/pulseagent/repos/build2/Desktop/Qt/4.8.0/gcc/lib/QtDBus.framework/Versions/4/QtDBus
Referenced from: /Users/kikohs/QtSDK/Desktop/Qt/4.8.0/gcc/lib/phonon.framework/Versions/Current/phonon
Reason: Incompatible library version: phonon requires version 4.8.0 or later, but QtDBus provides version 4.7.0

Do you know I could I fix this ?

Thanks!

解决方案

For now I decided to stick with Qt 4.7.3, to remove the warnings I hacked the qtglobal.h and added Mac 10.7 as a supported version.

It seems to run fine ...

这篇关于Qt 4.8 beta和Mac OSX Lion,Phonon错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆