problems to deploy qt application
Hi everybody,
I'm trying to run a qt application in a laptop without qt SDK and windows XP. The application was compiled with visual studio 2005. I followed this post
http://doc.trolltech.com/4.6/deploym...o-2005-onwards
but I still can't run the application. I got the following error: The procedure entry point _Z13qFlagLocationPKc could not be located in the dynamic link library QtCored4.dll
Has anyone any ideas to solve this problem? can anyone show me how can I run an .exe file (compiled with VS2005) in a computer without QT?
Thank you very much!!
Re: problems to deploy qt application
Hi,
I don't use VS2005 myself, but you could try compiling in release mode instead of debug. If you followed the instructions, I guess you only supplied the QtCore4.dll, not the QtCored4.dll. If so, you either have to compile in release mode or include the Qt debug dll's in your distribution.
/spn
Re: problems to deploy qt application
sorry but i tried it and it doesn't work, I still have the same problem...
Re: problems to deploy qt application
Did you deploy your program's dependencies (like QtCored4.dll, etc.)?!
Re: problems to deploy qt application
Try the suggested Dependency Walker to see if you have shipped all libraries with your application!
Re: problems to deploy qt application
yes I did it with "dependency walker" and I got the following dependencies: QtCore4.dll, QtGui.dll, QtNetwork4.dll and kernel32.dll. As not found dlls I got: ieshims.dll and wer.dll
Re: problems to deploy qt application
do I really need the ieshims.dll and wer.dll to deploy the application?
Re: problems to deploy qt application
If the QtCored4.dll is found but you get the error, I can only guess, that you may be took the wrong dll. Make sure you did not use the dll's out of the qtcreator directory. Or do you have compiled Qt yourself?
Re: problems to deploy qt application
Hello,
Did you find a solution for this already ? I have the exact same problem, and have been struggling for days to fix this, but no success so far.
I use QT4.6 as it comes pre-compiled with the executable for VS5005. I already tried with QT built from source, both statically linked and with DLL's, but to no avail.
Best regards,
Marc