Qt for Python/GettingStarted/MacOS

From Qt Wiki
< Qt for Python‎ | GettingStarted
Revision as of 10:57, 2 January 2020 by CristianMaureiraFredes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Official documentation

Refer to the official docs to get started on macOS.

Development

Development happens in the 5.15 and dev branches of the pyside-setup repository. The top level repository has the following submodules:

  • sources/pyside2-tools: pyside2-lupdate

Contributions follow the standard process.

It is helpful to have debug binaries and/or symbols for Python available. On macOS you will need to build the Python interpreter with debug symbols by hand. It is also recommended to use a Virtual Environment for testing to be able to always start from a clean base and avoid issues with write permissions in installations. On macOS, the command

virtualenv -p /usr/bin/python3-dbg testenv                                          

creates a Virtual Environment named testenv for debugging purposes. Before building the first time, the module Sphinx should be installed into the virtual environment:

pip install sphinx