Launching application on Windows.
-
Hi, i've got a little problem. In QtDesigner i can build and launch application with no problems but when i do this directly on Windows it gives me an error:
!http://i47.tinypic.com/ao4y85.jpg(Click)!It means something like 'Entry point of the procedure [...] in library QtCore4.dll cannot be found'.
Please tell me what informations do you need.
Any ideas ?
-
welcome to devnet
A small correction you are not compiling and starting your application in QtDesigner. This must be Qt creator which can call QtDesigner.
You need to have the appropriate dlls in the same folder as your executable. There are a couple of other tasks with similar problems. Please have also a look "there (e.g. this). ":http://qt-project.org/forums/viewthread/1374 You may find more by using clicking on the "dependency" tag on the right of your post.
As a starter you obviously need to copy QtCore4.dll into the same directory as your application. By typically others will follow.
-
Hi, thanks for fast reply.
This is not my first application in Qt and I'm really not so stupid to forget about copying QtCore dll into application's directory ;) I wouldn't even ask if I find a solution on google or here. Problem seems to come from QtCore4.dll but it's the same I use for other applications which are launching properly. Dependency Walker keeps showing me new dlls needed (I've already downloaded wer.dll, efsadu.dll, ieshims.dll, ncrypt.dll, bcrypt.dll and It's showing me next -.-). Why do I need all of them? I won't deliver app with 50 dlls...
-
I've updated Qt to new version. Now I can't even launch app in QtCreator (actually I can but only in Debug Mode) and error looks a bit different:
!http://i48.tinypic.com/2cqcpwo.jpg(error)!If others apps works fine It's probably something in the code. But what can cause problem like this? I'm running out of ideas... Anyone knows what could it be?