1.创建
TEMPLATE = libTARGET =
DEPENDPATH += .
INCLUDEPATH += .
CONFIG += staticlib
2.链接
LIBS += -L../test-common -ltest-common
LIBS += ../test-common/libtest-common.a1.创建
TEMPLATE = lib
2.链接
LIBS += -L../test-common -ltest-common
LIBS += ../test-common/libtest-common.a