Could not find the Qt platform plugin “wayland” in “”
Could not load the Qt platform plugin “xcb” in “” 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, linuxfb, eglfs, minimalegl, vnc, minimal, offscreen.
Aborted
this is the error i am facing can anyone help
Hi, the IDE only works on the last release of the OS. I mentions that in the download window.
However, someone managed to get past these issues and make it work on the latest release:
opened 05:07PM - 05 Jun 24 UTC
closed 10:09PM - 05 Jun 24 UTC
I'm trying to install in the newest Raspberry Pi Os (bookworm). I downloaded the… Bullseye installer (thinking it might not work, but just to give it the chance).
Bookworm ships with python 3.11, which yells at you if you're doing anything outside a venv.
Ide installation fails due to due to the `sudo pip install pyusb` line where
```
error: externally-managed-environment
x This environment is externally managed
--> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
```
Is there a reason why using pip for this particular install?
I replaced it with this line:
```
sudo apt install python3-usb
```
The install goes through. I get the icon and everything, but
```
~/Downloads/openmv-ide $ ./bin/openmvide
./bin/openmvide: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory
```
I have a newer version of libicuuc.so, so maybe that's getting into trouble? I would appreciate some help here
```
~/Downloads/openmv-ide $ sudo find / -name 'libicu*'
/usr/lib/aarch64-linux-gnu/libicudata.so.72
/usr/lib/aarch64-linux-gnu/libicuuc.so.72
```
I 'solved' this by performing some symlinks.
I went on to run the ide, but I got stuck into a qt5 incompatibility error. The install that I have is `5.15.8`, not sure how incompatible it is.
```
pi@raspberrypi:~/Downloads/openmv-ide $ ./bin/openmvide
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqxcb.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqwayland-generic.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqeglfs.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqwayland-xcomposite-egl.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqwayland-xcomposite-glx.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqvnc.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqminimal.so:
Plugin uses incompatible Qt library (5.15.0) [release]
In /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so:
Plugin uses incompatible Qt library (5.15.0) [release]
Could not find the Qt platform plugin "wayland" in "/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms"
Could not load the Qt platform plugin "xcb" in "/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms" 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, linuxfb, eglfs, minimalegl, vnc, minimal, offscreen.
Aborted
```
Any help appreciated!
hi , i have done the following steps and the problem of qt plugins is not solved
i think rasberry pi 5 has much better architecture for the openmv ide to work properly. so can we execpt a proper fix to this problem as openmv and rasberry pi 5 together can create many great projects
In a few months. As mentioned, you can use the Bullseye version of the OS for now. It’s not a RaspberryPi 5 thing.