ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem was caused by a problem in the source package of Qt in anaconda.

I solved the problem by removing the conda packages and clearing the cache:

conda remove pyqt
conda remove qt5
conda clean --all

Then I reinstalled PyQt and Qt from a different source, and it works fine:

conda install -c anaconda pyqt 
conda install pyqt
conda install -c anaconda qt

Make sure to set these two variables in .bashrc:

export QT_PLUGINS_PATH=/path/to/qt_plugins_folder
export QT_QPA_PLATFORM_PLUGIN_PATH=/path/to/qt_plugins_folder/platforms

And that the libxcb.so library is located in one of the specified paths.