Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89122

Building Qt with cmake needs 15% more space than with qmake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.1
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Environment:
      Ubuntu 20.04 LTS
      clang 10.0.0

      Description

      1. Clone qtbase.
        I'm at f071ba31b2e441268518217cbe2ec4fe1c978b31
      2. Do shadow builds of this in empty directories.
        I used:
        MAKEFLAGS=-j7 nice ../qtbase/configure -platform linux-clang -opensource -confirm-license -nomake examples -nomake tests -prefix $PWD -release <buildtool> && nice make -j7
        

        with <buildtool> being -cmake or -qmake, respektively.

      3. Check the sizes of these builds:
        qtrob@rob-desktop:/tmp/sizetest$ du -sh *make
        715M	cmake
        622M	qmake
        

        Attachments

        1. cmake.txt
          5 kB
        2. qmake.txt
          3 kB
        3. treecmake.txt
          33 kB
        4. treeqmake.txt
          23 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-89122
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes