PyQt is a set of Python bindings for The Qt Company's Qt application framework. The bindings are implemented as a set of Python modules and contain over 1,000 classes.
PyQt6 supports Qt6 and runs on Windows (Intel and ARM), macOS (Intel and Apple Silicon) and Linux (Intel and ARM).
PyQt5 supports Qt5 and runs on Windows (Intel), macOS (Intel and Apple Silicon), Android, iOS and Linux (Intel).
PyQt4 supports Qt v4 but both are no longer supported and no new releases will be made.
PyQt is dual licensed on all supported platforms under the GNU GPL v3 and the Riverbank Commercial License. Unlike Qt, PyQt is not available under the LGPL. You can purchase the commercial version of PyQt here. More information about licensing can be found in the License FAQ.
PyQt does not include a copy of Qt. You must obtain a correctly licensed copy of Qt yourself. However, binary wheels of the GPL version of PyQt6 and PyQt5 are provided and these include a copy of the corresponding LGPL version of Qt.
A description of the components of PyQt5 can be found in the PyQt5 Reference Guide.
A description of the components of PyQt4 can be found in the PyQt4 Reference Guide.
PyQt brings together the Qt C++ cross-platform application framework and the cross-platform interpreted language Python.
Qt is more than a GUI toolkit. It includes abstractions of network sockets, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, a fully functional web browser, a help system, a multimedia framework, as well as a rich collection of GUI widgets.
Qt classes employ a signal/slot mechanism for communicating between objects that is type safe but loosely coupled making it easy to create re-usable software components.
Qt also includes Qt Designer, a graphical user interface designer. PyQt is able to generate Python code from Qt Designer. It is also possible to add new GUI controls written in Python to Qt Designer.
Python is a simple but powerful object-orientated language. Its simplicity makes it easy to learn, but its power means that large and complex applications can be created. Its interpreted nature means that Python programmers are very productive because there is no edit/compile/link/run development cycle.
Much of Python's power comes from its comprehensive set of extension modules providing a wide variety of functions including HTTP servers, XML parsers, database access, data compression tools and, of course, graphical user interfaces. Extension modules are usually implemented in either Python, C or C++. Using tools such as SIP it is relatively straight forward to create an extension module that encapsulates an existing C or C++ library. Used in this way, Python can then become the glue to create new applications from established libraries.
PyQt combines all the advantages of Qt and Python. A programmer has all the power of Qt, but is able to exploit it with the simplicity of Python.
左下腹疼是什么原因 | 碳酸是什么 | iqc是什么意思 | 嘴唇不红润是什么原因 | 什么一色 |
cup什么意思 | 翘首以盼什么意思 | 野鸡吃什么食物 | 为什么老是说梦话 | asmr是什么意思 |
李子有什么功效 | 哈库呐玛塔塔什么意思 | 属牛的和什么属相最配 | 亲家母是什么意思 | 身上长红点很痒是什么原因 |
hpv检查什么 | bq是什么意思啊 | 为什么有的人皮肤黑 | 高校自主招生是什么意思 | 酱油色尿是什么原因 |
扫把和什么是一套的hcv7jop6ns1r.cn | 蛇缠腰是什么病hcv8jop5ns6r.cn | 什么动物是站着睡觉的hcv8jop5ns8r.cn | 喝醋有什么好处hcv9jop7ns3r.cn | 4月10号什么星座hcv8jop6ns6r.cn |
脓包疮用什么药hcv8jop5ns7r.cn | 螳螂捕蝉是什么意思hcv8jop7ns5r.cn | 甲功不正常会得什么病hcv8jop1ns4r.cn | 梦到丧尸是什么预兆hcv7jop4ns7r.cn | 消化不良吃什么水果hcv9jop8ns0r.cn |
手脱皮用什么药hcv7jop6ns8r.cn | 物上代位性是什么意思sscsqa.com | 心率过快吃什么药好hcv9jop4ns6r.cn | 司命星君掌管什么hcv9jop1ns2r.cn | 血管瘤是什么病严重吗hcv7jop5ns4r.cn |
稀饭配什么菜好吃hcv8jop8ns6r.cn | AC是胎儿的什么意思hcv9jop2ns7r.cn | 中国国粹是什么hcv7jop6ns1r.cn | 唾液粘稠是什么原因hcv8jop0ns6r.cn | 什么是纳豆hcv8jop3ns9r.cn |