Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building Qt 5.0.0 fails on Windows 8 with MinGW 4.7.2

Building Qt 5.0.0 fails on Windows 8 with MinGW 4.7.2

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kosmonaFFFt
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tpham3783
      wrote on last edited by
      #2

      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 \
        

      @

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved