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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.1
    • Build System: CMake
    • None
    • 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
          Robert Löhning
        2. qmake.txt
          3 kB
          Robert Löhning
        3. treecmake.txt
          33 kB
          Robert Löhning
        4. treeqmake.txt
          23 kB
          Robert Löhning

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes