Quote Originally Posted by magland View Post
In your library project file, use TEMPLATE=lib. If you want a create a shared library use CONFIG += dll, and if you want to create a static library use CONFIG += staticlib.

Once the library is created, you can use LIBS += -L searchpath -l libname in your main application project file (see Qt docs). Be sure to #include the header file for your library....
suppose i in my library project file i use TEMPLATE = lib .
now i want to create lib file then i have to give
#qmake project file
# make
if it will successfully compile then it will build .lib file
this is right or not.
and where i have to locate the lib file

Amit