![qt platform plugin could not be initialized qt platform plugin could not be initialized](https://ddgobkiprc33d.cloudfront.net/d1ae2967-decd-42a9-bfef-5077551792a5.png)
- #QT PLATFORM PLUGIN COULD NOT BE INITIALIZED HOW TO#
- #QT PLATFORM PLUGIN COULD NOT BE INITIALIZED INSTALL#
I've inherited the code from someone else and don't want to change the project to QT5.9.5, so i'm trying to run with 5.7.1, I've followed instructions on other questions in order to change the QT version to 5.7.1 but still get the same error when running it.
![qt platform plugin could not be initialized qt platform plugin could not be initialized](https://img-blog.csdnimg.cn/20200629160802271.png)
After installing QT, and installing drivers needed for the application i've tried to run it but keep coming across this error:Ĭannot mix incompatible Qt library (version 0x50701) with this library (version 0x50905) It is a QT application but on the server we are running it using pm2 from NPM. Run Binary With Specific QT Version - Cannot mix incompatible Qt library I'm trying to replicate an application that we currently have running on a physical Ubuntu server using an Ubuntu machine in Virtual Box.
#QT PLATFORM PLUGIN COULD NOT BE INITIALIZED INSTALL#
Sudo apt-get install libxkbcommon-x11-devĮxport PATH=$PATH:~/Qt/Tools/QtCreator/bin Note that it cannot find libxkbcommon-x11, so the fix was this: Reinstalling the application may fix this problem.Īvailable platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.įirst, defining this environment variable before starting qtcreator causes more debug to be printed out:Īnd then in the debug it said this when trying to start qtcreator from the commandline on ubuntu 18.04:Ĭannot load library /home/myuser/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/libqxcb.so: (libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory)
![qt platform plugin could not be initialized qt platform plugin could not be initialized](https://user-images.githubusercontent.com/1179546/36316873-7f58d60a-1309-11e8-94b1-fe5539204d79.png)
This application failed to start because no Qt platform plugin could be initialized. Qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
#QT PLATFORM PLUGIN COULD NOT BE INITIALIZED HOW TO#
Reinstalling the application may fix this problem.Īvailable platform plugins are: direct2d, minimal, offscreen, windowsĬan you help me? I have to get this damn tablet to work by tomorrow and I really do not know how to fix this.Ĭopy the folder plugins/platforms from your Qt build to the folder containing your executable. This application failed to start because no Qt platform plugin couldīe initialized. I had removed Qt from my Surface pro 4 and reinstall it since it seemed unable to find QtQuick controls and othe qml related modules.Īfter performing the install procedure, I tried to open qt creator and I got this message Qt creator fails to open on Windows 10 “no Qt platform plugin could be initialized” - windows hI'm stuck in a limbo since yesterday.