PDA

View Full Version : Procedure entry point not located



Hannibal
5th September 2008, 19:43
QT 4.4.0
VC++ Express 2008 (VISTA)

My application runs fine in the debug configuration.
I get the following error when attempting to run in the release configuration:
"The procedure entry point
?resizeEvent@QWidget@@MAEXPAVQResizeEvent@@@Z
could not be located in the dynamkic link library QtGui4.dll.

I have never had any other version of QT on my PC.
Dependency Walker shows both configurations getting either
QtGui4.dll or QtGuid4.dll from the same directory.
(c:\qt\4.4.0\bin\)

Why would one run and not the other?

Memento_Mori
8th October 2008, 13:15
I have the same problem.

I downloaded QT 4.4.3 and compiled it with visual studio 2008.
My application runs in debug mode, while in release gives the error "The procedure entry point ??0QApplication@@AE@AAHPAPADH@Z could not be located in the dynamic link library QtGui4.dll".

Googling around I saw people solving similar problem by updating the dlls, which seems not to be an option here as 4.4.3 is the last version.

Any idea?

Thanks,
meme

Memento_Mori
8th October 2008, 16:13
I solved the problem by setting the qt path as the first entry in the PATH environment variable.

My guess is that this problem comes from other application using QT which makes my application to use those dlls (older version) instead of the one I compiled.