Skip to content

[Major] Qt5 installation instructions don't work on new Ubuntu versions #18

Closed
@niksirbi

Description

@niksirbi

The installation instructions for Linux include sudo apt-get install qt5-default, but the qt-default package is no longer available for recent versions of Ubuntu.

Running sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools, as responses to the above-linked thread suggest, didn't do the trick for me, and neither did conda install pyqt, conda install qt or conda install qtpy.

No matter what I do (on ubuntu 23.04 or 23.10) I end up with one of these two errors when I try to run snub:

QObject::moveToThread: Current thread (0x1e155c0) is not the object's thread (0x2da9de0).
Cannot move to target thread (0x1e155c0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/niko/anaconda3/envs/snub2/lib/python3.8/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc, webgl.

Aborted (core dumped)
ImportError: $HOME/anaconda3/envs/snub3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.72)

There should be a less brittle way of installing snub on recent Linux distros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions