[Solved] mainwindow.obj:-1: error: LNK2001: unresolved external symbol
-
Hello friends.
I got into a trouble & i don
t know the right solution. I searched & tried more suggestion but they don
t work! :(
i cleaned,build,rebuild, delete build directory, run qmake,etc more & more.
I confused!
These are the error:please help me.
Thanks a lot.
Ya Ali. -
Thanks for your response dear hpollak.
I installed both mcvs-opengl 32bit & 64bit.
i can solve these errors for 32bit (By declartion non-static variable !!! )
how can i solve these similar errors for x64.
Also, I've added INCLUDEPATH & LIBS but the errors are shown. -
finally i could solve one of my problem!
if you use winpcap in your program, you must add -lwsock32 in LIBS to your .pro file. like this:@
LIBS += -LC:/WpdPack/Lib -lwpcap -lpacket -lwsock32
@source: http://www.qtcentre.org/threads/48269-Using-Wsock32-lib-with-QT