{"id":21785,"library":"pyqt-builder","title":"PyQt-builder","description":"PyQt-builder is the official build system for PyQt, used to build PyQt packages from source. It provides a Qt-based build system using SIP and the Qt build tools. Current version is 1.19.1, released periodically.","status":"active","version":"1.19.1","language":"python","source_language":"en","source_url":"https://github.com/Python-PyQt/pyqt-builder","tags":["PyQt","build","sip","Qt"],"install":[{"cmd":"pip install pyqt-builder","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for PyQt build process","package":"sip","optional":false},{"reason":"Required SIP bindings for respective Qt version","package":"PyQt5-sip or PyQt6-sip","optional":true}],"imports":[{"wrong":"from pyqtbuild import PyQtBuilder","symbol":"PyQtBindings","correct":"from pyqtbuild import PyQtBindings"},{"wrong":"from pyqtbuild import PyQtBuilder","symbol":"PyQtProject","correct":"from pyqtbuild import PyQtProject"},{"wrong":"from pyqtbuild import PyQtBuilder","symbol":"QmakeBuilder","correct":"from pyqtbuild import QmakeBuilder"}],"quickstart":{"code":"from pyqtbuild import PyQtBuilder\n\nbuilder = PyQtBuilder()\nbuilder.build('.')\n","lang":"python","description":"Basic usage to build a PyQt project."},"warnings":[{"fix":"Use 'from pyqtbuild import PyQtBuilder' instead of 'from pyqt_builder import PyQtBuilder'.","message":"The import and API changed completely from pyqt-builder v1.0 to v1.1+. The package 'pyqtbuild' replaces the old 'pyqt_builder' module. Old code using 'from pyqt_builder import ...' will break.","severity":"breaking","affected_versions":"<1.0 vs >=1.1"},{"fix":"Ensure Qt is installed and accessible via the system PATH or set QTDIR to the Qt root.","message":"PyQt-builder may not build automatically if the Qt installation is not found. Users often forget to set environment variables like QTDIR or PATH.","severity":"gotcha","affected_versions":"all"},{"fix":"Use builder.configure(...) followed by builder.make() instead of builder.build('.').","message":"The 'build()' method with a single argument (source directory) is deprecated in favor of explicit configuration via 'configure()' and 'make()'.","severity":"deprecated","affected_versions":">=1.15"}],"env_vars":null,"search_vec":"'1.19.1':39 'base':26 'build':10,16,27,34,43 'builder':3,6 'current':36 'offici':9 'packag':18 'period':41 'provid':22 'pyqt':2,5,13,17,42 'pyqt-build':1,4 'qt':25,33,45 'qt-base':24 'releas':40 'sip':30,44 'sourc':20 'system':11,28 'tool':35 'use':14,29 'version':37","created_at":"2026-04-27T17:01:43.947615+00:00","updated_at":"2026-04-27T17:01:43.947615+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.19.1","cli_name":"pyqt-builder","cli_version":"sh: 1: pyqt-builder: not found","type":"library","homepage":null,"github":"https://github.com/Python-PyQt/PyQt-builder","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pyqt-builder/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}