July 7, 2011

gogfather gogfather
Lab Rat
3 posts

Qt Webkit Debug Compilation “MediaPlayerPrivate” error.

 

Hi there,

I’m trying to build a debug version of the QtWebKit v2.1.1 on my PC. I’ve successfully compiled Qt 4.7.3 in release and debug already.

I’m running into this compile error: command-line arguments : see previous definition of ‘_HAS_TR1’
..\..\..\WebCore\platform\graphics\qt\MediaPlayerPrivatePhonon.cpp(54) : error C
2039: ‘MediaPlayerPrivate’ : is not a member of ‘WebCore’
..\..\..\WebCore\platform\graphics\qt\MediaPlayerPrivatePhonon.cpp(54) : error C
2065: ‘MediaPlayerPrivate’ : undeclared identifier
..\..\..\WebCore\platform\graphics\qt\MediaPlayerPrivatePhonon.cpp(54) : error C
2065: ‘mediaPlayer’ : undeclared identifier

Lookin down the build chain, it doesn’t look like it is including anything that compiles a MediaPlayerPrivate class. I don’t get this error when compiling release. Is there a define I’m missing?

0 replies

 
  ‹‹ Showing flash in QWebView on a QScrollArea      Recognise if URL is not reachable ››

You must log in to post a reply. Not a member yet? Register here!