[SOLVED] Qt Creator - Can't release always debug && Entry point not found in QtGui4.dll
-
You can download "Qt creator 2.8 from download page.":http://download.qt-project.org/official_releases/qtcreator/2.8/2.8.0/qt-creator-windows-opensource-2.8.0.exe
You can also download and install "Qt 4.8.5 for msvc2010":http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-win-opensource-4.8.5-vs2010.exe from there.
AFAIK the nokia page is outdated already for some time. Probably you might get some maintenance stuff for Nokia mobile programming, but I do really not know.
Your path setting looks fine to me. The only thing I am noting is the MikTex 2.9 setting. This caused problem in my setup some time ago. However, this is fairly late in the path setting and IIRC the path variable is used from start to end.
One last "stupid" thought, you are not trying to compile as 64 bit app?
All I saw on previous pages is referring to 32 bit, so there is only a little chance. -
bq. you are not trying to compile as 64 bit app?
How can I know that ? Why would it be a problem ?
I've downloaded your links, I don't have debug and can only release, but anyway, I'm having the same issue. I'm compiling, adding QtGui4.dll, QtCore4.dll and mingwm10.dll to the directory, and I still have the entry problem. This thing is making me mad...
What do I have to do with "Qt 4.8.5 for msvc2010" ? Anything dor the compilation ?
Here is the new PATH with " Qt creator 2.8" :
C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin;
c:\Program Files (x86)\Microsoft F#\v4.0;
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy;
c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN;
c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;
c:\Windows\Microsoft.NET\Framework\v4.0.30319;
c:\Windows\Microsoft.NET\Framework\v3.5;
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;
C:\Program Files (x86)\HTML Help Workshop;
C:\Program Files (x86)\HTML Help Workshop;
c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools;
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin;
C:\Program Files (x86)\Google\Chrome\Application;
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C:\Program Files (x86)\ATI Stream\bin\x86_64;
C:\Program Files (x86)\ATI Stream\bin\x86;
C:\Perl64\site\bin;
C:\Perl64\bin;
C:\Program Files\MiKTeX 2.9\miktex\bin\x64;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0;
C:\Program Files\Broadcom\Broadcom 802.11\Driver;
C:\Program Files\TortoiseSVN\bin;
C:\Program Files (x86)\Common Files\MDL Shared\ISIS;
C:\Program Files (x86)\Objective Caml\bin;
c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;
c:\Program Files\Microsoft SQL Server\100\Tools\Binn;
c:\Program Files\Microsoft SQL Server\100\DTS\Binn;
C:\Program Files (x86)\OpenAFS\Common;
C:\Program Files (x86)\OpenAFS\Client\Program;
C:\Program Files\OpenAFS\Common;
C:\Program Files (x86)\MIT\Kerberos\bin;
C:\Program Files\OpenAFS\Client\Program;
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static -
Well well, this is working with the QtGui4.dll and QtCore4.dll of the new Qt Creator. Still, I'd like to understand what happened, what do I have to keep and what can I uninstall.
The release is in 4.8.1 not 4.8.5, like the version you told me to download, how do I change it (if I have to, or do I uninstall it ?). When I remove the "mingwm10.dll" file from my release directory, it still work. So what is this file for ? What are the moc_file.cpp/.obj for ?
I have an error with the new Qt creator 2.8 for the debug, to I have to parameter something ?
For a release what do I need, only the .exe, the QtGui4.dll and QtCore4.dll ?
Thanks a lot for your help ! ;)
-
[quote author="Elfayer" date="1376334025"]bq. you are not trying to compile as 64 bit app?
How can I know that ? Why would it be a problem ?
[/quote]
You cannot mix 32 bit and 64 bit compilations. You have to keep this separate.[quote author="Elfayer" date="1376334025"]
What do I have to do with "Qt 4.8.5 for msvc2010" ? Anything dor the compilation ?
[/quote]
This would be yet another, but updated version of Qt libs. Just in case if anything is wrong with the other versions. This is fresh and presumably it has to work.
It is your decision if you want to update or not.[quote author="Elfayer" date="1376334025"]
I'm having the same issue. I'm compiling, adding QtGui4.dll, QtCore4.dll and mingwm10.dll to the directory, and I still have the entry problem. This thing is making me mad...
[/quote]
Do not copy dlls right away to the release folder where your exe is. When your compilation is correct, You can start it also as release in creator using the green arrow on the left. This runs only your application. It should make that all required dlls are found at their appropriate places. When I am doing this it has only the executable there.When you start copying dlls there, you might copy the wrong ones and we are doing the next circle.
When you have checked that the release compiled version is starting correctly when pressing the green arrow button "run" on the left, you can enter the next step.