QtDesignPatterns/DesignPatterns.pro

62 lines
2.0 KiB
Prolog

QT += core
QT -= gui
CONFIG += c++11
TARGET = DesignPatterns
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked 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
include(factorypattern/factorypattern.pri)#工厂模式
include(singletonpattern/singletonpattern.pri)#单例模式
include(proxypattern/proxypattern.pri)#代理模式
include(templatepattern/templatepattern.pri)#模版模式
include(strategypattern/strategypattern.pri)#策略模式
include(flyweightpattern/flyweightpattern.pri)#享元模式
include(visitorpattern/visitorpattern.pri)#访问者模式
include(mediatorpattern/mediatorpattern.pri)#中介者模式
include(observerpattern/observerpattern.pri)#观察者模式
include(statepattern/statepattern.pri)#状态模式
include(commandpattern/commandpattern.pri)#命令模式
include(decoratorpattern/decoratorpattern.pri)#装饰模式
include(bridgepattern/bridgepattern.pri)#桥接模式
include(iteratorpattern/iteratorpattern.pri)#迭代器模式
include(compositepattern/compositepattern.pri)#组合模式
include(facadepattern/facadepattern.pri)#外观模式
include(adapterpattern/adapterpattern.pri)#适配器模式
include(abstractfactorypattern/abstractfactorypattern.pri)#抽象工厂模式
include(builderpattern/builderpattern.pri)#建造者模式
include(prototypepattern/prototypepattern.pri)#原型模式
include(interpreterpattern/interpreterpattern.pri)#解释器模式
include(chainofresponsibilitypattern/chainofresponsibilitypattern.pri)#责任链模式
include(mementopattern/mementopattern.pri)#备忘录模式