i build a C++ library with qt creator.
qt builds for me in debug folder 3 files:
'1. libSerialize.a' and '2. Serialize.dll' and 'serialize.o' .
now i want to add this library to another qt project.
how can i do that?.
how can i include that library? .
where should i copy those? .
which one is necessary? .
this is my .pro file:
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = get_send_array
TEMPLATE = app
SOURCES += main.cpp\
widget.cpp \
student.cpp
HEADERS += widget.h \
student.h
so thanks, please help me.
Use:
Serialize.dllis a windows dynamic load library, andlibSerialize.ais anararchive (you may reffer to it as a static library) and usually used in *nix systems.