I compiled qt4.5.2 on windowsXp,but it failed!
The message is 'LINK : fatal error LNK1104 can not open file QtGuid.lib'.
I found that the QtGui.lib was exist.
I do not know why?
who can help me?Thanks?
I compiled qt4.5.2 on windowsXp,but it failed!
The message is 'LINK : fatal error LNK1104 can not open file QtGuid.lib'.
I found that the QtGui.lib was exist.
I do not know why?
who can help me?Thanks?
Last edited by yleesun; 28th July 2009 at 14:05. Reason: missing [code] tags
Does the error occur while building Qt or does it occur when building an application using Qt? Does the linker know where to look for QtGuid.lib?
If you are using visual studio you should add the search path for Qt libraries to your environment options. qmake should know where the libraries are.
Last edited by franz; 28th July 2009 at 21:49. Reason: updated contents
It occurs while building Qt !
Which compiler version? I've built Qt 4.5.2 for MSVS 2008 twice now without any problems.
on windows xp ,
It just occur on my computer,but on the other one which is the same as mine it works ok.
Last edited by yleesun; 29th July 2009 at 10:29. Reason: reformatted to look better
If you are building Qt from nmake, you may have to build it 2 times to get the whole thing to compile. At least this is what has happened to me. The first time you get errors because moc was not created. The second time everything builds. I am not sure if this is related though. Although I have built Qt on a dozen or so machines I have not done so in months.
John
Bookmarks