2012-02-29 11 views
8

Dostaję masę ostrzeżeń z webkita, gdy uruchomię rspec. Używam capybara-webkit i qt zainstalowanego z brew. Na pewno chciałbym to naprawić. Dzięki za pomoc.Ostrzeżenie środowiska wykonawczego Capybara Webkit: Klasa jest zaimplementowana w obu

ostrzeżenia takie jak: "realizowanego zarówno"

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: Jestem zainteresowany tylko w odpowiedzi, które dotyczą qt zainstalowany z brew. Dzięki.

Odpowiedz

2

Polecam pobranie i korzystanie z gotowej wersji biblioteki Qt.

Próbowałem zbudować przy użyciu MacPorts i miałem trudności. Witryna Qt ma do tego wbudowany kod binarny. W moim przypadku wszystko działa dobrze.

Używam capybara-WebKit z gotowych Qt prawie rok bez problemów na MacOS X 10.6 i 10.7

+1

Myślałem, że "napar" użył gotowego 'qt'. Czym różni się 'qt' od twojego' qt'? Pamiętaj, że nie używam MacPorts. –

+0

Nie używam naparu, więc mogę źle zrozumieć, jak działa konfiguracja parzenia, ale zgodnie z https://github.com/mxcl/homebrew/blob/master/Library/Formula/qt.rb Konfiguruje i tworzy to. – shigeya

+0

Nie wyjaśnia, dlaczego wystąpił błąd, ale podejrzewam, że rzeczywiście pozbywa się ostrzeżeń, przyznając nagrodę. – Obie

0

przeprosiny ... to należy jako komentarz na odpowiedź @ shigeya użytkownika.

Wstępnie zbudowany plik binarny Qt nie rozwiązuje tego problemu. Zainstalowany teraz 4.8.2, wraz z brew remove --force qt, w wyniku czego:

objc[67716]: Class WebCoreMovieObserver is implemented in both /Library/Frameworks/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[67716]: Class WebCoreSharedBufferData is implemented in both /Library/Frameworks/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[67716]: Class WebVideoFullscreenWindow is implemented in both /Library/Frameworks/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[67716]: Class WebVideoFullscreenController is implemented in both /Library/Frameworks/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[67716]: Class WebVideoFullscreenHUDWindowController is implemented in both /Library/Frameworks/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[67716]: Class WebVideoFullscreenHUDWindow is implemented in both /Library/Frameworks/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[67716]: Class WebWindowFadeAnimation is implemented in both /Library/Frameworks/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[67716]: Class WebWindowScaleAnimation is implemented in both /Library/Frameworks/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. 
+0

Ponadto, mimo że to nie odpowiada na pytanie, okazało się, że przejście z capybara-webkit na [poltergeist] (https://github.com/jonleighton/poltergeist) (na podstawie zainstalowanego phantomjsa, który korzysta z webkita) spowodowało, że ostrzeżenia z dala. –

Powiązane problemy