1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00

66 lines
1.9 KiB
Prolog
Raw Normal View History

2018-05-20 19:45:33 +08:00
#-------------------------------------------------
#
# Project created by QtCreator 2018-05-19T23:32:58
#
#-------------------------------------------------
QT -= gui
TARGET = QQtBasedLibTest
TEMPLATE = lib
2018-05-29 18:04:10 +08:00
mingw {
DEFINES += QQTBASEDLIBTEST_STATIC_LIBRARY
} else {
DEFINES += QQTBASEDLIBTEST_LIBRARY
}
2018-05-20 19:45:33 +08:00
#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-29 18:04:10 +08:00
#这个lib的头文件宏定义集中在这里这个是lib用app也用必要
include (lib_header.pri)
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-28 00:21:30 +08:00
add_sdk_from_subdirs($$TARGET, $$PWD, $$DESTDIR, $$escape_expand( QQtExample_Library, test/QQtMultiLinkTest ) )
2018-05-29 18:04:10 +08:00
#这里是比较特殊的只是链接QQt而不发布
#这是Lib对待依赖项和App不同的地方
add_link_library_QQt()