Begin 'shared' project to share code between cli and gui

This commit is contained in:
2019-04-20 23:31:14 +02:00
父節點 f461d2c844
當前提交 c928c94eb1
共有 9 個文件被更改,包括 290 次插入5 次删除

32
shared/shared.pro Normal file
查看文件

@ -0,0 +1,32 @@
#-------------------------------------------------
#
# Project created by QtCreator 2019-04-20T23:00:36
#
#-------------------------------------------------
QT += sql
QT -= gui
TARGET = shared
TEMPLATE = lib
CONFIG += staticlib
# 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 += sqlitesearch.cpp
HEADERS += sqlitesearch.h
unix {
target.path = /usr/lib
INSTALLS += target
}