PDA

View Full Version : Entry point not found



feraudyh
2nd July 2010, 09:54
Hello,
This is the frst time I'm trying to make an application run independently of QTCreator in Windows XP.
My steps were to go to a Qt Dos prompt and di did this


MinGW32-Make clean
qmake -config release
MinGW32-Make
in the directory of my application.

I did not compile any plugins, because I supposed that there were none.

Then I copied my application executable to a directory DeploymentTest
along with lots of DLL's until there was no complaining of DLL not found.
However after those complaints were gone I still got a complaint (which I am translating from the French)
the entry point of the procedure _Z17qt_message_output9QtMsgTypePKc cannot be found.
What kind of mistake on my part does this bring to mind?

feraudyh
2nd July 2010, 11:25
Hello,
I have looked around and noticed this is a classic problem related to the existence of several versions of QtCore4.dll
on my machine, it seems. If I understand correctly it is loading the wrong QtCore4.dll.
I will try to solve this on my own and will ask for your assistance later.

feraudyh
2nd July 2010, 11:53
OK, I put my files onto a laptop in which there is only one occurence of QtCore4.dll, namely the one that came with the corresponding QtCreator distribution
and yet the problem persists, so it can't be due to it loading the wrong QtCore4.dll it would seem.
I am stuck.

feraudyh
2nd July 2010, 12:12
OK, I found the answer on another forum: (in my case) use the QtCore4.dll and QtGui4.dll that is inside
C:\Qt\2009.05\qt\bin
not the DLL's that are in
C:\Qt\2009.05\bin