Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt 5.0.2 Error LNK1104: cannot open file 'gdi32.lib'

$
0
0
Hello, I have been watching videos on how to create a program using Qt and I want to try it myself and also, I’m trying to learn how to use Qt because I am interested in making a couple of simple games. I have a pretty basic background knowledge regarding C++. I downloaded the Qt 5.0.2(The Windows 8 64 bit since that’s what my laptop runs in) and it all works fine. I tried to make a simple program and when I try to build it, I get this error message: LINK : fatal error LNK1104: cannot open file ‘gdi32.lib’ I checked in my C: drive to see if I have a gdi32.lib file and I have it under the library folder which is in the Microsoft SDK folder. I don’t know what the problem is. Does it matter if the the .Lib file under the Microsoft SDK is called “Gdi32.Lib,” not being exactly named like the one that Qt Creator cannot open? Anything I can do to fix this error? I would greatly appreciate any help. Thank you for your time.

Viewing all articles
Browse latest Browse all 2113

Trending Articles