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

Qt 6.8.0 building completely irrelevant things

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 6.8.0
    • Build System: CMake
    • None

      Seeing some very odd behaviour with qt 6.8.0 on mac and windows which did not see on previous releases.

      Let's start with mac:, I get qtbase via git then switch to the branch, I get the modules using `perl init-repository --module-subset=qtbase,qtserialport,qtconnectivity,qtcharts` then I build using `../configure -static -prefix /usr/local/Qt/ -release – -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"` and `cmake --build . --parallel 4`

      On 6.7.3 I get a build taking 27 minutes and a 72.1MiB zip of the installed build

      On 6.8.0 I get a build taking 2 hours 7 minutes (same build system) and a 459MiB zip of the installed build

      I see this in the 6.8.0 build log:

      ```
      + git submodule init qtrepotools qtbase qtserialport qtimageformats qtshadertools qtsvg qtlanguageserver qtdeclarative qtconnectivity qtquicktimeline qtquick3d qtmultimedia qtcharts
      Submodule 'qtbase' (git://code.qt.io/qt/qtbase.git) registered for path 'qtbase'
      Submodule 'qtcharts' (git://code.qt.io/qt/qtcharts.git) registered for path 'qtcharts'
      Submodule 'qtconnectivity' (git://code.qt.io/qt/qtconnectivity.git) registered for path 'qtconnectivity'
      Submodule 'qtdeclarative' (git://code.qt.io/qt/qtdeclarative.git) registered for path 'qtdeclarative'
      Submodule 'qtimageformats' (git://code.qt.io/qt/qtimageformats.git) registered for path 'qtimageformats'
      Submodule 'qtlanguageserver' (git://code.qt.io/qt/qtlanguageserver.git) registered for path 'qtlanguageserver'
      Submodule 'qtmultimedia' (git://code.qt.io/qt/qtmultimedia.git) registered for path 'qtmultimedia'
      Submodule 'qtquick3d' (git://code.qt.io/qt/qtquick3d.git) registered for path 'qtquick3d'
      Submodule 'qtquicktimeline' (git://code.qt.io/qt/qtquicktimeline) registered for path 'qtquicktimeline'
      Submodule 'qtrepotools' (git://code.qt.io/qt/qtrepotools.git) registered for path 'qtrepotools'
      Submodule 'qtserialport' (git://code.qt.io/qt/qtserialport.git) registered for path 'qtserialport'
      Submodule 'qtshadertools' (git://code.qt.io/qt/qtshadertools.git) registered for path 'qtshadertools'
      Submodule 'qtsvg' (git://code.qt.io/qt/qtsvg.git) registered for path 'qtsvg'

      ```

      I didn't ask for most of that?

       

      Now on to windows, I can't even build on windows because my 6GiB drive gets eaten, I see folders in src getting large for things like android (I am building for windows only), dbus (there isn't even dbus on windows, so why is the folder 219MiB??) sql goes to 118MiB and I specifically disable sql when configuring using `-no-sql-sqlite -no-sql-odbc.

      So I don't know what's going on but this release is completely broken

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            thedjnk Mr nK
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes