Contributing to PySide2

This is reminder-to-self about how to get set up and contribute to PySide2 using Gerrit. It could also be a fun read “on the bus” before actually setting this up yourself, to get an overview on what’s required to get up and running with Gerrit.

Disclaimer: I discourage you to blindly follow these highly personal notes without reading through the official docs when you actually get set up yourself. Anything can be changed in the official docs at any time, which isn’t reflected here. The point of this post is just to make a note-to-self and offer a “bigger picture” before actually digging in.

Read more...

Qt.py on conda-forge

Qt.py is now available on conda-forge!

# Enable conda-forge
conda config --add channels conda-forge

# Create environment with Python 3.6, PySide2 and Qt.py
conda create --mkdir --prefix ~/condaenvs/myenv python=3.6 pyside2 qt.py

# Run Python
~/condaenvs/myenv/bin/python --version

# Run pip
~/condaenvs/myenv/bin/pip --version

PySide2 easy install!

Yesterday, @jschueller added pyside2-feedstock to conda-forge. This means we can now finally install PySide2 easily in Python 2.7, 3.5 and 3.6 on Windows, Linux and macOS using conda.

# Enable conda-forge
conda config --add channels conda-forge

# Install PySide2
conda install pyside2

And. It. Frickin’. Just. Works.

Read more...

An alternative to building PySide2 from source

I’ve received questions lately on the issues that people are having while attempting to build PySide2 on Windows, macOS and Linux. Instead of building PySide2, there’s actually a workaround which works just as well for some people…

Update 2017-08-28: PySide2 can now be installed with conda:

conda config --add channels conda-forge
conda install pyside2
Read more...

Find missing libs with repoquery

Not sure how I didn’t learn about this until today. Anyways, if you end up with missing libs on CentOS/RedHat, use repoquery to find missing libs.

Read more...