Could not load the Qt platform plugin "xcb" in "" even though it was found
-
If I call function
system("~/Qt/Tools/QtCreator/bin/qtcreator /home/supernova/Desktop/MPU/MPU.pro &"); from my Qt app getting errorqt.qpa.plugin: 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: minimalegl, offscreen, wayland-egl, linuxfb, minimal, vkkhrdisplay, wayland, xcb, vnc, eglfs.
if open from pure gnome terminal it works fine
-
If I call function
system("~/Qt/Tools/QtCreator/bin/qtcreator /home/supernova/Desktop/MPU/MPU.pro &"); from my Qt app getting errorqt.qpa.plugin: 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: minimalegl, offscreen, wayland-egl, linuxfb, minimal, vkkhrdisplay, wayland, xcb, vnc, eglfs.
if open from pure gnome terminal it works fine
@JacobNovitsky Use
qtcreator.sh
, from the same directory.