Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3170

Oversized QtWebEngine in the PySide6 wheels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9, 6.10.0
    • Other
    • None
    • All

      While making a simple test app, I relized that the size of the virtual environment on my macbook is around 1.2G, whereas I only installed PySide6 wheels in that virtual environment. It turned out that around 500MB of it is taken by QtWebEngine. According the feedback from the QtWebEngine, the regular footprint should be 200MB if not smaller. I'm not fully sure what this 300MB difference is used for. If this is native debug information, I would question if it is needed for Python developers so that it takes so much space.

      ➜  site-packages du -sh ./PySide6 | sort -h 
      1.2G	./PySide6
      ➜  site-packages du -sh ./* | sort -h
       20K	./ordered_set-4.1.0.dist-info
       24K	./shiboken6-6.9.1+commercial.dist-info
       24K	./zstandard-0.23.0.dist-info
       32K	./PySide6-6.9.1+commercial.dist-info
       32K	./PySide6_M2M-6.9.1+commercial.dist-info
       40K	./ordered_set
      104K	./pip-25.1.1.dist-info
      220K	./PySide6_Addons-6.9.1+commercial.dist-info
      256K	./nuitka-2.6.8.dist-info
      348K	./PySide6_Essentials-6.9.1+commercial.dist-info
      1.1M	./shiboken6
      1.9M	./zstandard
       12M	./pip
       29M	./nuitka
      1.2G	./PySide6
      ➜  site-packages du -sh ./PySide6 | sort -h
      1.2G	./PySide6
      ➜  site-packages du -sh ./PySide6/Qt/lib/QtWebEngineCore.framework/* | sort -h
      124K	./PySide6/Qt/lib/QtWebEngineCore.framework/Helpers
       62M	./PySide6/Qt/lib/QtWebEngineCore.framework/Resources
      500M	./PySide6/Qt/lib/QtWebEngineCore.framework/Versions
      

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

            crmaurei Cristian Maureira-Fredes
            vminenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes