Question

I created an executable of the default MainWindow (changed no code whatsoever) with MinGW GCC, and moved the .exe file from the debug directory to another directory in which I have QtCored4.dll, QtGuid4.dll, and QtNetworkd4.dll.

When I click on the executable, I get the error message:

The procedure entry point _ZN7QWidget8winEventEP6tagMSGPI could not be located in the dynamic link library QtGuid4.dll.

Opening my executable with Dependency Walker gives me the following notifications:

Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

I really don't know where I'm going wrong, and would appreciate any help. Thanks!

Was it helpful?

Solution

You either miss a DLL that is dynamically loaded by QtGuid4.dll (dependency walker should indicate that), or that DLL misses symbols because it is compiled with a a different configuration. Is your executable compiled with debug settings, like the DLLs are? Do you have the "normal" DLLs (no 'd') around, too?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top