On 2020-01-03 15:49, David Grayson wrote:
On Fri, Jan 3, 2020 at 3:23 PM David Mathog <mat...@caltech.edu> wrote:
Please define "next to".
"platforms" would be in the same directory as your executable, if I
recall
correctly. You could also try naming it "plugins" and you could also
try
putting copies of it in a bunch of different places.
That worked - and it didn't. It worked enough so that Qt would run but
the interface
didn't look exactly like it did on other systems where all of Qt was
functioning. No warnings or errors were logged. In C. Gohlke's port of
pymol to windows he had a directory:
C:\progs\Python37\lib\site-packages\PyQt5\Qt
which contains directories: bin, plugins, xml, and translations. The
bin directory
contained a bunch of dll's which were already in my ./bin directory, so
I only
copied the plugins, xml, and translations directories from
/mingw64/share/PyQt5/Qt
to my build's
./lib/Python3.8/site-packages/PyQt5/Qt
Sure enough, with those pieces in that location mine starts up even
without access to
any part of msys2 (hidden by renaming the top directory), and it looks
like all the Qt styles are being used.
From the Qt documentation I cannot see why this works. Presumably PyQt5
is coded to look in that directory.
The debug "*d.dll" files which were also copied were removed to save (a
lot of) space.
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