Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] LNK1104: cannot open file 'QtGuid.lib' in Windows 8.1
sassi67 last edited by sassi67
under Windows 8.1 I'm trying to use the toolchain of OpenSceneGraph 3.0.1 (unfortunately I cannot upgrade to a more recent release) based on Qt 4.8.4 msvc2008 win32.
When I try to create a simple gui widget project I always get the linker error "LNK1104: cannot open file 'QtGuid.lib' ". That's reasonable because, by examining the folder containg the toolchain, the library is QtGui4d.lib not QtGuid.lib.
Is there a workaround to force Qt to use the correct library (a LIBS directive in .pro or whatever)?
Thanks in advance
sassi67 last edited by
The above problem has been "autoresolved" with a reboot of my PC.
Another problem arised: "LINK : fatal error LNK1104: cannot open file 'qtmaind.lib'"
This is due to the fact that release libraries and debug libraries are stored into 2 different folders.
So I've taken the source files of Qt4.8.4 from OSG and recompiled them with the desidered options.
Now everything works.