pasobcyber.blogg.se

Wsl could not find or load the qt platform plugin
Wsl could not find or load the qt platform plugin





wsl could not find or load the qt platform plugin

".Qt5.10.1/Tools/QtCreator/lib/Qt/plugins/platforms/" onto the searched path which is ".VirtualBox-5.2.8/out/linux.amd64/release/bin/". That was my hitting-the-nail-on-its-head moment, and I created the symlink from the installed Qt5.10.1's platforms directory mentioned below : Reinstalling the application may fix this problem.) = 154 Write(2, "This application failed to start"., 154This application failed to start because it could not find or load the Qt platform plugin "xcb" out/linux.amd64/release/bin/VirtualBoxĪccess("./VirtualBox-5.2.8/out/linux.amd64/release/bin/platforms/.", F_OK) = -1 ENOENT (No such file or directory) Running strace on the the VirtualBox binary I built using Clang/LLVM on Ubuntu 17.10 x86_64. And also setting QT_DEBUG_PLUGINS=1 didn't produce any extra logs either.

wsl could not find or load the qt platform plugin

So, none of the ldd checks, and other solutions worked. ".VirtualBox-5.2.8/out/linux.amd64/release/bin/platforms/"Īnd not in the default library paths, Qt installation path, etc. In my case, since I was building VirtualBox-5.2.8 from its source, it was searching for libqxcb.so in the below location : So I then googled the version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)) error and found the solution to that, which solved the problem.įor those who are still stuck after trying every other option out there in the internet, you can look into exact path from which this notorious libqxcb.so is being searched in, for opening/loading by the Qt App( VirtualBox-5.2.8 is the Qt app in my case), using the strace tool.

wsl could not find or load the qt platform plugin

Reinstalling the application may fix this problem. This application failed to start because it could not find or load the Qt platform plugin "xcb". QLibraryPrivate::loadPlugin failed on "/opt/PostgreSQL/9.6/pgAdmin 4/plugins/platforms/libqxcb.so" : "Cannot load library /opt/PostgreSQL/9.6/pgAdmin 4/plugins/platforms/libqxcb.so: (/opt/PostgreSQL/9.6/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16))" Loaded library "/opt/PostgreSQL/9.6/pgAdmin 4/plugins/platforms/libqxcb.so" My output after turning on QT_DEBUG_PLUGINS was: QFactoryLoader::QFactoryLoader() checking directory path "/opt/PostgreSQL/9.6/pgAdmin 4/bin/platforms". Read the actual error message thrown by QT, since none of the above solutions addressed the cause of this error in my case. To any future readers who come across this - before you start (dangerously) messing around with symlinks to shared libraries, I strongly suggest that you runĪnd then run your failing executable again in the Terminal.







Wsl could not find or load the qt platform plugin