SShortSingh.
Back to feed

Excluding Unused Qt Modules Cuts a PySide6 App's Installed Size from 131 MB to 82 MB

0
·20 views

A developer shrank the installed size of Nyctale, a Windows diagnostic tool built with Python and PySide6, from 131 MB to 82 MB in version 1.0.3. The installer also dropped from 34.8 MB to 23.7 MB after unused Qt modules were removed from the build. The article lists the PyInstaller excludes used and estimates each module's weight, with QtOpenGL the heaviest at about 10.2 MB. The author notes that these figures are measured estimates and that the 49 MB reduction exceeds the 36.2 MB of modules excluded, which they cannot fully explain. The piece also warns that exclusions are risky if a module is still imported indirectly, so the author recommends testing features that use Qt after building.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

OpenAI posts preprint claiming disproof of smooth four-dimensional Poincaré conjecture

OpenAI has shared a preprint on GitHub titled 'Exotic four-spheres detected by Khovanov homology,' dated December 4, 2026. The paper, circulated as a PDF, is reported to argue that the smooth four-dimensional Poincaré conjecture is false. The source material available is limited to the link and a Hacker News discussion thread with 31 points and 2 comments. The claim has not been reviewed or confirmed by independent mathematicians in the material provided. Readers should treat the result as a preprint claim pending expert scrutiny.

0
ProgrammingHacker News ·

Tinybrowser: A Browser Built to Run Inside Another Browser

A Hacker News post shared a project called Tinybrowser, which presents a web browser that operates within a web page. The project is hosted at a dedicated site linked from the post. The submission gathered 15 points and 10 comments from the community. The source material provides little beyond the title and link, so details about its technical implementation are not described here.

0
ProgrammingDEV Community ·

Fixing wget Resume 416 Errors: Diagnosis and Safe Recovery

Running wget -c on a large file can end with a 416 Requested Range Not Satisfiable response, which wget reports as a fully retrieved file. The message is misleading because wget only infers that the local copy is complete rather than verifying it. The article reproduces this response using a small local Range-capable server that the reader controls. It explains what the HTTP headers mean and separates four common causes, including a fully downloaded local file, a changed remote file, a server that ignores or rejects range requests, and keep-alive stalls. It closes with a preflight and postflight script that checks range support, Content-Range, final size, and checksum before trusting a resumed download.

0
ProgrammingDEV Community ·

Managing Instagram for work without Reels: Business Suite, web, or app

Using Instagram for business doesn't have to mean passing through the Reels feed, since Meta Business Suite and instagram.com on a computer let users post, schedule, answer messages and comments, and review insights. Meta describes Business Suite as a free tool that handles activity across Facebook, Instagram and Messenger, with an Inbox covering direct messages and comments. Business Suite has no Reels tab or Explore page, which makes it better suited to account management than casual browsing. The mobile Instagram app still places Reels one tap away, so the article suggests a phone-side option that hides those tabs. Because Meta frequently changes menus, the author advises checking current screens before building a routine around specific steps.