Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QtCreator, VS2010 & compiler heap space error with large resources

    Tools
    1
    1
    2423
    Loading More Posts
    • 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.
    • M
      matti- last edited by

      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

      Author of <a href="http://mmark.777-team.org/">MMark13</a>

      1 Reply Last reply Reply Quote 0
      • First post
        Last post