中实现当我运行rspec
时,我从webkit收到一系列警告。我正在使用从brew
安装的capybara-webkit
和qt
。我当然很想解决这些问题。谢谢你的帮助。Capybara Webkit运行时警告:类在
警告,如:
objc[97388]: Class WebCoreMovieObserver is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore. One of the two will be used. Which one is undefined.
objc[97388]: Class WebCoreSharedBufferData is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore. One of the two will be used. Which one is undefined.
objc[97388]: Class WebVideoFullscreenWindow is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
objc[97388]: Class WebVideoFullscreenController is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
objc[97388]: Class WebVideoFullscreenHUDWindowController is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
objc[97388]: Class WebVideoFullscreenHUDWindow is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
objc[97388]: Class WebWindowFadeAnimation is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
objc[97388]: Class WebWindowScaleAnimation is implemented in both /usr/local/Cellar/qt/4.8.0/lib/QtWebKit.framework/Versions/4/QtWebKit and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
EDIT “在这两个实施了”:我只是在涉及从brew
安装qt
答案感兴趣。谢谢。
我以为'brew'使用了预建的'qt'。 'brew'的'qt'与'qt'有什么不同?请注意,我没有使用MacPorts。 – 2012-03-07 15:52:23
我没有使用brew,所以我可能会误解brew的配置是如何工作的,但根据 https://github.com/mxcl/homebrew/blob/master/Library/Formula/qt.rb 它的配置和制作它。 – shigeya 2012-03-08 00:32:17
没有解释为什么会出现错误,但我怀疑它确实摆脱了如此奖励赏金的警告。 – Obie 2012-03-13 00:06:58