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

[SOLVED]Linking a Static Libray

$
0
0
Hi! I have a simple doubt: How can i link a compiled static library( with a .h and a .lib) files in my project? I use the option to include a static library and pass the paths …etc…everything works file, but when i compile the code i receive erros like this one: main.obj : error LNK2019: unresolved external symbol “public: __cdecl CTerreno::CTerreno(void)” (0CTerreno@@QEAA@XZ) referenced in function “void __cdecl `dynamic initializer for ‘TrrExpl’‘(void)” (__ETrrExpl@@YAXXZ) It seems Qt are not linking this methods , and i already run the qMake and rebuild the project , but with no results. Any help will be much appreciated. Kind Regards.

Viewing all articles
Browse latest Browse all 2113

Trending Articles