QtCreator, VS2010 & compiler heap space error with large resources

  • So our Windows build is giving us:

    qrc_data.cpp:1748020: error: C1060: compiler is out of heap space

    Obviously our .qrc is rather big, but not that big (the final executable is under 100 megs), but apparently vs2010 compiler wont survive compiling the resource. clang on OSX / gcc on Linux compile the same project np. We tried playing around with something like this:

    win32:QMAKE_CXXFLAGS += /Zm500

    ..to make the available heap larger. We also tried a smaller value, but apparently to no avail. So now we're stuck splitting up our .qrc files into several ones.

    Mingw would probably work properly since its a port of gcc?

    • Matti

Log in to reply

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