2018-05-20 19:45:33 +08:00
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2018-05-19T23:32:58
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
|
|
QT -= gui
|
|
|
|
|
|
|
|
|
|
TARGET = QQtBasedLibTest
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
|
|
DEFINES += QQTBASEDLIBTEST_LIBRARY
|
|
|
|
|
|
|
|
|
|
#if defined(QQTBASEDLIBTEST_LIBRARY)
|
|
|
|
|
# define QQTBASEDLIBTESTSHARED_EXPORT Q_DECL_EXPORT
|
|
|
|
|
#elif defined (QQTBASEDLIBTEST_STATIC_LIBRARY)
|
|
|
|
|
#define QQTBASEDLIBTESTSHARED_EXPORT
|
|
|
|
|
#else
|
|
|
|
|
# define QQTBASEDLIBTESTSHARED_EXPORT Q_DECL_IMPORT
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
qqtbasedlibtest.cpp
|
|
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
qqtbasedlibtest.h \
|
|
|
|
|
qqtbasedlibtest_global.h
|
|
|
|
|
|
|
|
|
|
unix {
|
|
|
|
|
#target.path = /usr/lib
|
|
|
|
|
#INSTALLS += target
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-24 14:43:59 +08:00
|
|
|
|
#touch 启动post link
|
2018-05-20 19:45:33 +08:00
|
|
|
|
system(touch qqtbasedlibtest.cpp)
|
2018-05-24 14:43:59 +08:00
|
|
|
|
|
2018-05-24 20:03:03 +08:00
|
|
|
|
#包含基础管理者
|
2018-05-26 14:49:18 +08:00
|
|
|
|
include (../../../multi-link/add_base_manager.pri)
|
2018-05-24 14:43:59 +08:00
|
|
|
|
|
2018-05-26 14:49:18 +08:00
|
|
|
|
#设置版本
|
2018-05-24 14:43:59 +08:00
|
|
|
|
add_version(1,0,0,0)
|
|
|
|
|
#发布SDK 必要
|
2018-05-26 14:49:18 +08:00
|
|
|
|
add_sdk_in_subdirs($$TARGET, $$PWD, $$DESTDIR, $$escape_expand( QQtExample_Library, test/QQtMultiLinkTest ) )
|
|
|
|
|
#这个lib的头文件、宏定义,集中在这里,这个是lib用app也用。必要
|
2018-05-24 20:03:03 +08:00
|
|
|
|
include (lib_header.pri)
|