Impossible to find entry point
-
hy,
I'm trying to run my program from outside Qt, I went into the program folder, and i run on the executable program, obviously I added all the requested libraries (QtCore4,Qtsql4,qtnetwork4,qtgui4,mingwm10,libgcc_s_dw2-1) but when I click on the exe again I get this error:
can't find entry point _ZN7QWidget8winEventEP6tagMMSGPI of the procedure in the DLL and then the path to my executable.
sorry I'm italian and I translated the error message!!
I noticed that if I had all the libraries and then run it inside Qt I get the error:The program has unexpectedly finished.
thanks -
[quote author="sax94" date="1364835935"]hy,
I'm trying to run my program from outside Qt, I went into the program folder, and i run on the executable program, obviously I added all the requested libraries (QtCore4,Qtsql4,qtnetwork4,qtgui4,mingwm10,libgcc_s_dw2-1) but when I click on the exe again I get this error:
can't find entry point _ZN7QWidget8winEventEP6tagMMSGPI of the procedure in the DLL and then the path to my executable.
[/quote]
Are you sure to have copied the dlls of the correct version?[quote author="sax94" date="1364835935"]I noticed that if I had all the libraries and then run it inside Qt I get the error:The program has unexpectedly finished.
thanks[/quote]
As long as you have not messed around with the libraries, this should be not related to the problem above. There is a problem with your code's logic. -
-
OK. Download 'Dependency Walker' and run it with your executable. It should show you what is missing and/or which binaries don't provide expected dependencies. One thing: it can help you only if you don't load binaries at runtime (using for example QLibrary).
-
I don't know if this is the case but I use QODBC!! I used dependency walker and only IESHIMS.DLL file was missing, i didn't find it on hte computer so I installed it using a program called "dll fixer". the I runned again dependency walker, ieshims.dll was there, know i get a run time error when i start the program!!!!