You are using the wrong DLL. Use the one in the 'qt/bin' dir rather than the one in the 'bin' dir. For a test, you can copy it to your apps release folder.
You are using the wrong DLL. Use the one in the 'qt/bin' dir rather than the one in the 'bin' dir. For a test, you can copy it to your apps release folder.
Hi, I had not realized there are two bin folders, \qt\bin and \bin. What's the difference between the two?
Unfortunately, by copying one or the other dll in my release folder, I still get an "entry point not found" error. It happens on two different entry points, but still an error.
The files in the /bin directory are the runtime libraries against which the bundled Qt Creator has been built. They have probably been built using the Microsoft VC++ compiler. The files in /qt/bin are the runtime libraries (debug and release) as built using the bundled MingW compiler. These are the files Qt Creator will use when it builds and runs your program, and the files you should deploy.
The separation is there to allow the Qt Creator to run independently of any version of Qt, or set of configuration settings, you may be developing your application against.
No he is not. I have the same problem, I already tested all the qtcore4.dll, copy all of them, did lots os tests, and the problems persists. I put a thread the forum "instalation and deployment" and still havent figured this out. Is not the code either because runs fine in linux, and happens the same with empty projects, works good in debug and crashes in release. I'm using Vista.
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Well, what can I say? "Unable to find entry point" means exactly that - that it can't find that particular function in the DLL file. Since Qt ships with pretty much every function available in the DLL, the only explanation is that the system is trying to use a custom-compiled QtCore DLL which doesn't have the function that the program needs. If the function wasn't in the DLL, the linker would complain when you ran it, as it wouldn't be able to find the function in the dynamic version of the .a file either.
Maybe you should host your executable which doesn't work somewhere for someone else to test. If it works on there PC, then it's definitely a DLL issue.
Or that the function is at different offset in the library which may happen when trying to run the application against a different version of the library it was linked against (i.e. running against 4.7 while building against 4.6). Which may happen exactly when you take the dll from qtsdk\bin\ instead of qtsdk\qt\bin as already mentioned. Maybe the export library is broken?
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Hi,
The attached exe file in XP producing same error. I also tried Win7. Same thing had happened as mentioned by benelgiac. It is running fine in debug mode. In release mode only qt creator can run the exe . But in Xp nothing is running .
regards
rittchat
When I began programming with QT earlier this year I ran into the same Problem.
When you run from Creator everything works fine. But when you run the EXE it complains about missing DLL(s).
I think this has something to do with the build configuration... (have not found how to solve it here)
But, i found that if you copy the Dlls into the applicationfolder it will link and run... You might need more than 1 dll, depending on what Qt Modules your programm uses.
For me it was necesary to copy following Files (Application is a Custom rich Text Editor)
mingwm10.dll
msvcrt.dll
QtCore4.dll
QtGui4.dll
Somewhere I found an Article that lead me to this solution including a small app called "Depends" which will help you find out which dlls your exe needs.
I hope this helps...
Eric
__________________________________________________
My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
Like my projects ? Buy me a kofi
Bookmarks