PDA

View Full Version : Help - LNK2019: Unresolved external symbol



marc2050
17th May 2011, 02:06
Hi.
My setup is windows 7 and compiling using QTCreator.
I got this error.
mainwindow.obj:-1: error: LNK2019: unresolved external symbol

I think it has something to do with an external library? How do I link the library?

Thanks.
Marc

wysota
17th May 2011, 02:17
You can start by searching the forum for similar issues (I mean linking libraries and not LNK2019).

ChrisW67
17th May 2011, 02:19
With the correct additions to the LIBS variable in your PRO file. This topic has been covered many times in this forum.

"QTCreator" is not a compiler, it is an IDE. Your compiler is Microsoft's VC++ and its linker.

--
D'oh! Got to type faster :)

wysota
17th May 2011, 02:29
D'oh! Got to type faster :)
No. Use the "Preview Post" or "Go Advanced" button :)