1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
This commit is contained in:
tianduanrui 2018-05-12 23:20:04 +08:00
parent 94068720a7
commit 4921a51682

View File

@ -45,11 +45,13 @@ isEmpty(QKIT_PRIVATE) {
#link qqt settings: use source or link library?
#-------------------------------------------------------------
#if you want to build qqt source open this annotation
#CONFIG += QQT_SOURCE_BUILDIN
CONFIG += QQT_SOURCE_BUILDIN
contains (CONFIG, QQT_SOURCE_BUILDIN) {
#if you want to build src but not link QQt lib in your project
#if you don't want to modify Qt Creator's default build directory, this maybe a choice.
#notice: msvc, DLL_IMPORT macro is no problem to use in app + lib source?
#notice: msvc, DLL_IMPORT macro is no problem to use in app + lib source? 静态成员的定义无法编译通过dllimport在app里不允许实现静态成员变量。
#so, here ,force static, QQt的静态编译dllexport一律定义为空引用的时候也是空所以能过。
DEFINES += QQT_STATIC_LIBRARY
include($${QQT_SOURCE_ROOT}/qqt_source.pri)
} else {
#if you want to link QQt library