Hey Forum !

I have a class that i created in Visual Studio 6, i want to import it as a .lib file in my Qt project but i know i couldn't do this so i went to creating the lib with Qt, i copied the source files into a new "C++ Library project" in Qt , that produced an ".a" file in the debug folder of the newly created project. i imported that file in my main Qt project but it gave me this error
Qt Code:
  1. :-1: error: collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode 

please can anyone give me the right way to do this, my initial goal was to put a c++ class in a lib and use it in my Qt project.

thanks.