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

[Reg 5.15 -> 6] Windows, MSVC: DLL-s are bigger with CMake, than QMake.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0.2, 6.2
    • 6.0.0
    • Build System: CMake
    • None
    • Windows 10, MSVC 2019
    • Windows
    • e425a2a4b8dd469920eede57e9c4094523aa9ad7 (qt/qtbase/dev) 01e32d5c4a0ca1da0f31f57b970ef271fe13bd1b (qt/qtbase/dev) 4d1808e502222928d98e388a3875acda19818df5 (qt/qtbase/6.0)

    Description

      qtbase commit: 928b51704 "tst_QFile: add a couple more sequential Unix device files"

      QMake:

      • Qt6Core.dll - 3627520 bytes
      • Qt6Gui.dll - 4198912 bytes
      • Qt6Widgets.dll - 3529216 bytes
      • Qt6Xml.dll - 83456 bytes

      CMake:

      • Qt6Core.dll - 4767744 bytes
      • Qt6Gui.dll - 5577728 bytes
      • Qt6Widgets.dll - 3925504 bytes
      • Qt6Xml.dll - 97280 bytes

       CMake with partial C++ exceptions (cmake-3.19\Modules\Platform\Windows-MSVC.cmake: remove /EHsc):

      • Qt6Core.dll - 4360704 bytes
      • Qt6Gui.dll - 5041152 bytes
      • Qt6Widgets.dll - 3529216 bytes
      • Qt6Xml.dll - 83456 bytes

      Please fix the CMake builds to have same DLL sizes as the QMake.

      Built with:

      configure -{c|q}make -release -optimize-size -opensource -confirm-license ^
      	-mp -no-opengl -nomake examples -nomake tests -nomake tools ^
      	^
      	-skip qt3d -skip qt5compat -skip qtactiveqt -skip qtandroidextras ^
      	-skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d ^
      	-skip qtdeclarative -skip qtdoc -skip qtdocgallery ^
      	-skip qtfeedback -skip qtgamepad -skip qtgraphicaleffects ^
      	-skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras ^
      	-skip qtmultimedia -skip qtnetworkauth -skip qtpim -skip qtpurchasing ^
      	-skip qtqa -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 ^
      	-skip qtquicktimeline -skip qtremoteobjects -skip qtrepotools -skip qtscxml ^
      	-skip qtsensors -skip qtserialbus -skip qtserialport -skip qtshadertools ^
      	-skip qtspeech -skip qtsvg -skip qtsystems -skip qttools -skip qttranslations ^
      	-skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine ^
      	-skip qtwebglplugin -skip qtwebsockets -skip qtwebview ^
      	-skip qtwinextras -skip qtx11extras -skip qtxmlpatterns ^
      	^
      	-no-feature-columnview -no-feature-commandlinkbutton ^
      	-no-feature-concatenatetablesproxymodel ^
      	-no-feature-concurrent -no-feature-cups -no-feature-datawidgetmapper ^
      	-no-feature-dial -no-feature-dockwidget ^
      	-no-feature-filesystemwatcher -no-feature-fontcombobox ^
      	-no-feature-fontdialog -no-feature-hijricalendar -no-feature-identityproxymodel ^
      	-no-feature-islamiccivilcalendar -no-feature-jalalicalendar ^
      	-no-feature-itemmodeltester -no-feature-lcdnumber -no-feature-listwidget ^
      	-no-feature-mdiarea -no-feature-movie -no-feature-pdf -no-feature-picture ^
      	-no-feature-raster-64bit -no-feature-splashscreen ^
      	-no-feature-sqlmodel -no-feature-textbrowser -no-feature-textodfwriter ^
      	-no-feature-undocommand -no-feature-undogroup -no-feature-undostack -no-feature-undoview ^
      	-no-feature-whatsthis -no-feature-wizard ^
      	^
      	-no-feature-style-android -no-feature-style-mac -no-feature-style-windowsvista ^
      	^
      	-no-feature-network -no-feature-sql -no-feature-sql-odbc ^
      	^
      	-no-feature-gif -no-feature-jpeg -no-feature-tiff -no-feature-webp ^
      	-no-feature-dbus -no-feature-vulkan -no-feature-vkgen
      

      Attachments

        Issue Links

          Activity

            People

              semlanik Alexey Edelev
              nodir.temir Nodir Temirkhodjaev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: