N
N
nikitaveselkov2020-07-25 10:52:49
Python
nikitaveselkov, 2020-07-25 10:52:49

Why does the DLL load failed error appear?

Good afternoon, after building several python files into an exe on my PC, everything works fine, but when checking on third-party PCs, an error occurs: import DLL load failed while importing QTCore the specified module was not found. Literally yesterday I collected this same file, everything worked, now it gives an error.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alekssamos, 2020-07-25
@nikitaveselkov

Add it to the assembly, in the .spec file where data is where [] write the type path to this dlldata = [("qt.dll", ".")]

P
pfemidi, 2020-07-25
@pfemidi

Probably because Qt is not installed on third-party computers?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question