PDA

View Full Version : Entry point not found after compiling with Qt 4.2



mace
9th October 2006, 01:47
Just downloaded qt-win-opensource-4.2.0-mingw.exe from a mirror and installed it.
Then I rerun qmake on one of my smaller project and compiled the project with no errors.
When staring the executable I get the error message attached.

Don't know what to do to get my application going. :confused: anything wrong wih the installation?

jpn
9th October 2006, 07:47
Did you remember to change your environment variables (especially PATH) to correspond the new installation of Qt?

mace
9th October 2006, 11:53
Thanks for the reply.

PATH has got C:\Qt\4.2.0\bin and
QTDIR has got C:Qt\4.2.0 which corresponds to the installation location. So I think that should be ok.
I still had QT 4.1.4 installed when installing 4.2.0. Shouldn't have any effect or does it? I might try the same with uninstalling 4.1.4 and the reinstalling 4.2.0.

mace
9th October 2006, 12:27
Reinstalling after uninstalling 4.1.4 didn't help. :confused:

mace
9th October 2006, 22:21
Compiled Qt4.2.0 myself and now the Debug version works ok. But when compiling the release version I still get the error message when running the executable.

mace
10th October 2006, 12:16
Found the solution to my problem by reading
http://www.qtcentre.org/forum/showthread.php?mode=hybrid&t=530

I had QtCore4.dll and QtGui4.dll in my Windows\System32 folder. Works fine after removing those dlls.

Thanks anyway.

jpn
10th October 2006, 12:24
Ok, good. :) The reason I told you to check the PATH environment variable was because I had a suspect it was using old versions of the Qt libraries.