[Interest] Qt 5.0.1 - QWebKit Compile Error

Dalal Kushal Kushal.Dalal at digia.com
Tue Apr 30 00:45:41 CEST 2013


Hi Varun,

I think you got it wrong. There is config.h in qtwebkit for sure but there is a file with same name somewhere in you header search path (INCLUDEPATH).
Search for "config.h" in your (following) header search paths. And try compiling without that path. Your include paths includes much more than you actually need so better include things which you need.

INCLUDEPATH             += $$BRCM_NEXUS_PATH/
INCLUDEPATH             += $$BRCM_NEXUS_PATH/examples/multiprocess
INCLUDEPATH             += $$BRCM_NEXUS_PATH/lib/ipc
INCLUDEPATH             += $$BRCM_NEXUS_PATH/platforms/common/include
INCLUDEPATH             += $$BRCM_NEXUS_PATH/bin/include
INCLUDEPATH             += $$BRCM_NEXUS_PATH/platforms/97425/include
INCLUDEPATH             += $$BRCM_NEXUS_PATH//modules/core/include
INCLUDEPATH             += $$BRCM_NEXUS_PATH//base/include
INCLUDEPATH             += $$BRCM_NEXUS_PATH//base/include/public
INCLUDEPATH             += $$BRCM_ROCKFORD_PATH/middleware/platform/nexus
INCLUDEPATH             += $$BRCM_TARGETFS/usr/local/include/
INCLUDEPATH             += $$BRCM_TARGETFS/usr/local/include/zlib
INCLUDEPATH             += $$BRCM_TARGETFS/usr/local/include/zlib/zlib-1.2.3
INCLUDEPATH             +=
$$BRCM_APPLIBS_PATH/opensource/directfb/src/DirectFB-Broadcom/tools/stubs/
INCLUDEPATH             += $$BRCM_APPLIBS_PATH/opensource/jpeg/jpeg-8d
INCLUDEPATH             += $$BRCM_APPLIBS_PATH/opensource/libpng/libpng-
1.5.10
INCLUDEPATH             += $$BRCM_APPLIBS_PATH/opensource/freetype/freetype-
2.4.9/include
INCLUDEPATH             += $$BRCM_APPLIBS_PATH/opensource/sqlite/sqlite-
3.6.23.1
INCLUDEPATH             += $$BRCM_APPLIBS_PATH/opensource/icu/icu-
4.3.1/$${BRCM_PLATFORM}$${BRCM_BHCP_VER}/include
INCLUDEPATH         += $$BRCM_TARGETFS/usr/local/include/glib-
2.0 \
                           $$BCM_USR_LOCAL/include/glib-2.0/gio \
                           $$BCM_USR_LOCAL/include/glib-2.0/glib \
                           $$BCM_USR_LOCAL/include/glib-2.0/gobject \
                           $$BCM_USR_LOCAL/lib/glib-2.0/include \
                           $$BCM_USR_LOCAL/include/gstreamer-0.10



On Apr 29, 2013, at 12:01 PM, Varun Murli <varunmurli at gmail.com<mailto:varunmurli at gmail.com>> wrote:

Hi Kushal,

Commenting the include path had no effect either. Still have the same error.

I did look up config.h under qtwebkit. Qtwebkit has these sub components: WTF, JavaScriptCore, ThirdParty/ANGLE, WebKit, WebKit2 under the Sources folder. That is under qtwebkit/Sources.

The sub component WebKit is the one that throws up the error as you had posted. The config.h is not present in WebKit and is present in all other folders under qtwebkit/Source.

There were no redefinition error either.
I tried adding paths to config.h in WebKit1.pro also. But still no use.

I set up pkg-config and verified all the cflags and libs it listed. Nothing missing either.

Can you please let me know how you got past the errors you were facing ?

Thanks & Regards,
Varun Kyatsandra.

On 29-Apr-2013, at 11:20 PM, Dalal Kushal <Kushal.Dalal at digia.com<mailto:Kushal.Dalal at digia.com>> wrote:

Well, I do not have exact information of your setup so can not pin point the issue. Did you search for "config.h" as I said earlier?

Try commenting
INCLUDEPATH             += $$BRCM_TARGETFS/usr/local/include/
in your qmake.conf and recompile.

- Kushal

On Apr 27, 2013, at 6:55 AM, Varun Murli Kyatsandra <varunmurli at gmail.com<mailto:varunmurli at gmail.com>> wrote:

INCLUDEPATH             += $$BRCM_TARGETFS/usr/local/include/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130429/c43a50d2/attachment.html>


More information about the Interest mailing list