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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.