093bf894创建于 2023年2月26日历史提交

python_qt_binding

Description

The python_qt_binding node

This stack provides Python bindings for Qt. There are two providers: pyside and pyqt. PySide is released under the LGPL. PyQt is released under the GPL. Both the bindings and tools to build bindings are included from each available provider. For PySide, it is called "Shiboken". For PyQt, this is called "SIP". Also provided is adapter code to make the user's Python code independent of which binding provider was actually used which makes it very easy to switch between these.

Software Architecture

Software architecture description

https://github.com/ros2/python_qt_binding.git

input:

python_qt_binding/
├── CHANGELOG.rst
├── cmake
│   ├── shiboken_helper.cmake
│   ├── sip_configure.py
│   └── sip_helper.cmake
├── CMakeLists.txt
├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── MANIFEST.in
├── package.xml
├── pytest.ini
├── setup.py
├── src
│   └── python_qt_binding
│       ├── binding_helper.py
│       └── __init__.py
└── test
    └── test_imports.py

Installation

  1. Download RPM

aarch64:

wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_aarch64/aarch64/python_qt_binding/ros-foxy-ros-python_qt_binding-1.0.6-2.oe2203.aarch64.rpm

x86_64:

wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_x86_64/x86_64/python_qt_binding/ros-foxy-ros-python_qt_binding-1.0.6-2.oe2203.x86_64.rpm
  1. Install RPM

aarch64:

sudo rpm -ivh --nodeps --force ros-foxy-ros-python_qt_binding-1.0.6-2.oe2203.aarch64.rpm

x86_64:

sudo rpm -ivh --nodeps --force ros-foxy-ros-python_qt_binding-1.0.6-2.oe2203.x86_64.rpm

Instructions

Dependence installation:

sh /opt/ros/foxy/install_dependence.sh

Exit the following output file under the /opt/ros/foxy/ directory,Prove that the software installation is successful.

output:

./
|-- COLCON_IGNORE
|-- _local_setup_util_ps1.py
|-- _local_setup_util_sh.py
|-- bin
|-- include
|-- lib
|-- lib64
|-- local_setup.bash
|-- local_setup.ps1
|-- local_setup.sh
|-- local_setup.zsh
|-- setup.bash
|-- setup.ps1
|-- setup.sh
|-- setup.zsh
|-- share
|   `-- python_qt_binding
|       |-- hook
|       |-- package.bash
|       |-- package.dsv
|       |-- package.ps1
|       |-- package.sh
|       |-- package.xml
|       |-- package.zsh
|       |-- plugin.xml
|       `-- resource
`-- src

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/