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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.1
    • Build System: CMake
    • None
    • Ubuntu 20.04 LTS
      clang 10.0.0

      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
        

        1. cmake.txt
          5 kB
        2. qmake.txt
          3 kB
        3. treecmake.txt
          33 kB
        4. treeqmake.txt
          23 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes