Cannot open Qt5 creator after complete installation on Raspberry Pi 3
-
I have my Raspberry Pi 3 running on standard raspbian GNU/Linux 9 stretch. I wish to install Qt5 creator for source code development.
here are the commands i used to run the installation:
sudo apt-get install qt5-default
sudo apt-get install qtcreator
I can find the Qt Creator apps in my desktop tab programming>Qt Creator. I clicked on it but nothing happen.
I opened my terminal and type qtcreator to run the apps, it shows the message below:
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available plaform plugins are: eglfs, linuxfb, minimal, minimaleg1, offscreen, vnc, web1, xcb.
Reinstallting the application may fix this problem.
AbortedI have retried to uninstall everything and reinstall, same error message show up.
May i know how to fix the problem above?
-
Debian packages are maintained by Debian. It's something they should solve if they support RPi, try raising the issue on some Debian mailing list or bug tracker.
A standard way of using Qt on RPi is to cross-compile and use Qt Creator on your host machine.
Judging from error message: try running QtC with different platform plugin, like this:
qtcreator -platform "eglfs"
-
Hi,
You should also start your application with the QT_DEBUG_PLUGINS environment variable set to 1. That will give you information about what is happening.