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. qrc_resources.cpp fatal error C1060: compiler is out of heap space

qrc_resources.cpp fatal error C1060: compiler is out of heap space

Scheduled Pinned Locked Moved Solved General and Desktop
21 Posts 6 Posters 3.6k Views 3 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #12

    Ok the error has changed again, now:

    C1001: An internal error has occurred in the compiler.
    

    And it stopped on the resource file that contains files that I don't think are relevant:

    <RCC>
    <qresource prefix="/">
    <file>distribution_support/qt.conf</file>
    <file>sortexS_tr.ts</file>
    <file>sortexS_th.ts</file>
    <file>sortexS_es.ts</file>
    <file>sortexS_en.ts</file>
    <file>sortexS_ru.ts</file>
    <file>sortexS_fr.ts</file>
    <file>sortexS_it.ts</file>
    <file>sortexS_vi.ts</file>
    <file>sortexS_pt.ts</file>
    <file>sortexS_kr.ts</file>
    <file>sortexS_xx.ts</file>
    <file>sortexS_xy.ts</file>
    <file>malgun.ttf</file>
    <file>runui.bat</file>
    </qresource>
    </RCC>
    
    

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #13

      How heavy are these images ?
      How big is these files ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      SPlattenS 1 Reply Last reply
      0
      • SGaistS SGaist

        How heavy are these images ?
        How big is these files ?

        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #14

        @SGaist Hi, sorry can you explain by heavy to you mean how big are the file size's? They are all quite small, typical icon size's and mostly png's.

        Kind Regards,
        Sy

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #15

          Yes, I meant their size.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          SPlattenS 1 Reply Last reply
          0
          • SGaistS SGaist

            Yes, I meant their size.

            SPlattenS Offline
            SPlattenS Offline
            SPlatten
            wrote on last edited by
            #16

            @SGaist , The dimensions of the images again are icon sizes's so all quite small, they're is just a lot of them.

            Kind Regards,
            Sy

            ivanicyI 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #17

              Ok, so nothing really unusual. How big are the generated cpp files ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • SPlattenS Offline
                SPlattenS Offline
                SPlatten
                wrote on last edited by
                #18

                Total six of the project folder excluding objects and executable is 28MB, 882 Files.

                Kind Regards,
                Sy

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #19

                  Sorry, I meant the cpp files generated by rcc.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • SPlattenS SPlatten

                    @SGaist , The dimensions of the images again are icon sizes's so all quite small, they're is just a lot of them.

                    ivanicyI Offline
                    ivanicyI Offline
                    ivanicy
                    wrote on last edited by
                    #20

                    @SPlatten Hi, it's too late but, maybe adding

                    CONFIG += resources_big
                    

                    fixes the problem

                    1 Reply Last reply
                    1
                    • SprezzaturaS Offline
                      SprezzaturaS Offline
                      Sprezzatura
                      wrote last edited by
                      #21

                      I started getting "1060 Out of heap space" when I upgraded to Qt 6 and VS 2022. The "-std:c++17" flag triggers it.
                      The solution was to update to VS 2022 ver. 17.14.
                      This may be unrelated, but I'm posting it to help anyone else coming here with this problem.

                      1 Reply Last reply
                      1

                      • Login

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