Building QtWebKit inside Qt's src/3rdparty had some issues
Created attachment 48806 [details] Patch Patch that corrects the problem.
Can we replace + !CONFIG(QTDIR_build): TARGET = $$qtLibraryTarget($$TARGET) with + TARGET = $$qtLibraryTarget($$TARGET) These rules are already complex enough, let's try to keep them as simple as possible.
Created attachment 48869 [details] Patch v2 (In reply to comment #2) Thanks, I missed that one, here is the new patch
Comment on attachment 48869 [details] Patch v2 Looks good to me, r+. It would be better to assign value to VERSION at same location. Perhaps you can make that change during landing just by moving some code around. Something like this: CONFIG(QTDIR_build) { include($$QT_SOURCE_TREE/src/qbase.pri) # Qt will set the version for us when building in Qt's tree VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION} } else: VERSION = 4.7.0
Landed in r55133. Closing bug.