Building Qt 5.0.0 fails on Windows 8 with MinGW 4.7.2



  • Hello all...

    When i try to build Qt 5.0.0 on Windows 8, i have next compilation error:

    @
    ... -o .obj/debug_shared/SettingsMacros.o generated/SettingsMacros.h
    generated/SettingsMacros.h:31:11: error: missing binary operator before token "("
    generated/SettingsMacros.h:54:11: error: missing binary operator before token "("
    generated/SettingsMacros.h:77:11: error: missing binary operator before token "("
    generated/SettingsMacros.h:108:11: error: missing binary operator before token "("
    Makefile.WebCore.Target.Debug:494222: recipe for target '.obj/debug_shared/SettingsMacros.o' failed
    mingw32-make[4]: *** [.obj/debug_shared/SettingsMacros.o] Error 1
    mingw32-make[4]: Leaving directory 'c:/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/WebCore'
    Makefile.WebCore.Target:38: recipe for target 'debug-all' failed
    mingw32-make[3]: *** [debug-all] Error 2
    mingw32-make[3]: Leaving directory 'c:/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/WebCore'
    Makefile.WebCore:64: recipe for target 'sub-Target-pri-make_first-ordered' failed
    mingw32-make[2]: *** [sub-Target-pri-make_first-ordered] Error 2
    mingw32-make[2]: Leaving directory 'c:/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/WebCore'
    Makefile:129: recipe for target 'sub-Source-WebCore-WebCore-pro-make_first-ordered' failed
    mingw32-make[1]: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
    mingw32-make[1]: Leaving directory 'c:/qt-everywhere-opensource-src-5.0.0/qtwebkit'
    makefile:258: recipe for target 'module-qtwebkit-make_first' failed
    mingw32-make: *** [module-qtwebkit-make_first] Error 2
    @

    The problem string is:
    @
    #if ENABLE(DASHBOARD_SUPPORT)
    @

    Can anybody helps me with this problem?



  • try this patch, somehow, qt wants to build a header file into c-object.

    I tried and it worked fine:

    @
    --- Source/WebCore/Makefile.WebCore.Target.vanilla 2013-06-19 14:38:00.000000000 -0400
    +++ Source/WebCore/Makefile.WebCore.Target 2013-06-19 14:45:32.000000000 -0400
    -1684,7 +1684,6
    generated/WebKitFontFamilyNames.cpp
    generated/EventFactory.cpp
    generated/ExceptionCodeDescription.cpp \

    •           generated/SettingsMacros.h \
                generated/HTMLEntityTable.cpp \
                generated/ColorData.cpp \
                generated/UserAgentStyleSheetsData.cpp \
      

    -3343,7 +3342,6
    .obj/release-shared/generated/WebKitFontFamilyNames.o
    .obj/release-shared/generated/EventFactory.o
    .obj/release-shared/generated/ExceptionCodeDescription.o \

    •           .obj/release-shared/generated/SettingsMacros.o \
                .obj/release-shared/generated/HTMLEntityTable.o \
                .obj/release-shared/generated/ColorData.o \
                .obj/release-shared/generated/UserAgentStyleSheetsData.o \
      

    @


Log in to reply
 

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