On 2020-01-03 13:59, David Grayson wrote:
On Fri, Jan 3, 2020 at 1:11 PM David Mathog <mat...@caltech.edu> wrote:

qt.qpa.plugin could not find the Qt platform plugin "windows" in ""


I've solved this type of error before without having to write a qt.conf
file.  Qt is looking for a DLL with a name that is something like
qwindows.dll or qt5windows.dll. You can put that DLL in a directory named
"platforms" next to the main executable so that Qt can find it.

Please define "next to".

The current directory structure is like this (and this does not work):

top
  pymol.bat (starts program)
  bin (holds python3.exe, many dll's)
  lib (holds python3 library stuff, also tcl, tk)
  share
    PyQt5
      Qt
        plugins
           platforms (holds qwindows.dll)
           (many other directories)
        qml
        translations

I have no way of knowing which plugins may be required. There are a lot of plugins
and I have no way at this point of determining which are needed.

This directory structure is straight from mingw64 except with all dll's in bin
instead of lib.

Does "platforms" go in "bin" or at the same level as "bin"?
Do "qml" and "translations" go to the same place? (I'm assuming that something
in there must be needed.)

Thanks,

David Mathog
mat...@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to