Adam
Adam

Reputation: 115

Qt apps break after build on MinGW

When I build Qt 4.8.2 it builds successfuly. But when I run any Qt pre-built apps (qtdemo.exe, designer.exe etc) it throws a procedure entry point error.

This is what it says:

enter image description here

I just can't get it to work!

I have build debug and release DLLs, without Phonon, Script, Qt3support, or webkit.


I opened the app in Dependency Walker and this is what it said in bold red text:

Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.

Error: Modules with different CPU types were found.

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.

Upvotes: 1

Views: 201

Answers (1)

Saul
Saul

Reputation: 430

The problem occurs when there is another version of the QtCore4.dll in you system PATH. You can get around this by copying the newly compiled dll's into the same directory as the executable, so that it finds the correct version.

You could search your system for QtCore4.dll to see which program(s) installed the conflicting files.

Upvotes: 2

Related Questions