Qt creator fails to open on Windows 10 no Qt platform plugin could be initialized

Qt creator fails to open on Windows 10 no Qt platform plugin could be initialized

Copy the folder plugins/platforms from your Qt build to the folder containing your executable. This should get it running.

Check whether you have an environment variable (system-wide or user-level) QT_PLUGIN_PATH defined. If so, try to remove it (or rename for later restoration).
I had one Qt program installed which added this environment variable during its installation procedure and afterwards was unable to even start QtCreator or other self-built Qt5 programs even though the platforms subdirectory was present and contained the required dlls. You may have to reboot for the change to take effect.

Qt creator fails to open on Windows 10 no Qt platform plugin could be initialized

This is one of the methods to fix the issue:

  1. go to /pyQT5 -/QT /PLUGINS and then copy the platforms
    and then go back to
  2. /pyqt5_tools-/QT/BIN/ and then paste the folder.

It replaces the qwindows.dll file and it all works smooth.

Also if you dont find your designer file in qt_tools look into the bin directory or just search for it.
I am using Python 3.8.
and my python was installed in –
C:UsersdivyaAppDataLocalPackagesPythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0LocalCachelocal-packagesPython38

METHOD 2:
Go to (or wherever you have python installed)
C:Python38-32Scripts
and look for desginer.
Click on it and voila you have a working desginer.

Leave a Reply

Your email address will not be published.