123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- QT += core gui opengl
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
- TEMPLATE = lib
- DEFINES += NODE_EDITOR_SHARED NODE_EDITOR_EXPORTS
- CONFIG += c++14
- DESTDIR = $$PWD/../bin #指定生成的应用程序放置的路径
- CONFIG(debug, release|debug){
- win32:TARGET = QtNodesd
- else:TARGET = QtNodes
- } else {
- TARGET = QtNodes
- }
- # You can make your code fail to compile if it uses deprecated APIs.
- # In order to do so, uncomment the following line.
- #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
- INCLUDEPATH += include \
- include/QtNodes/internal
- HEADERS += \
- include/QtNodes/AbstractGraphModel \
- include/QtNodes/AbstractNodePainter \
- include/QtNodes/BasicGraphicsScene \
- include/QtNodes/ConnectionIdUtils \
- include/QtNodes/ConnectionStyle \
- include/QtNodes/DataFlowGraphModel \
- include/QtNodes/DataFlowGraphicsScene \
- include/QtNodes/DefaultNodePainter \
- include/QtNodes/Definitions \
- include/QtNodes/GraphicsView \
- include/QtNodes/GraphicsViewStyle \
- include/QtNodes/NodeData \
- include/QtNodes/NodeDelegateModel \
- include/QtNodes/NodeDelegateModelRegistry \
- include/QtNodes/NodeGeometry \
- include/QtNodes/NodeState \
- include/QtNodes/NodeStyle \
- include/QtNodes/StyleCollection \
- include/QtNodes/internal/AbstractGraphModel.hpp \
- include/QtNodes/internal/AbstractNodeGeometry.hpp \
- include/QtNodes/internal/AbstractNodePainter.hpp \
- include/QtNodes/internal/BasicGraphicsScene.hpp \
- include/QtNodes/internal/Compiler.hpp \
- include/QtNodes/internal/ConnectionGraphicsObject.hpp \
- include/QtNodes/internal/ConnectionIdHash.hpp \
- include/QtNodes/internal/ConnectionIdUtils.hpp \
- include/QtNodes/internal/ConnectionState.hpp \
- include/QtNodes/internal/ConnectionStyle.hpp \
- include/QtNodes/internal/DataFlowGraphModel.hpp \
- include/QtNodes/internal/DataFlowGraphicsScene.hpp \
- include/QtNodes/internal/DefaultNodePainter.hpp \
- include/QtNodes/internal/Definitions.hpp \
- include/QtNodes/internal/Export.hpp \
- include/QtNodes/internal/GraphicsView.hpp \
- include/QtNodes/internal/GraphicsViewStyle.hpp \
- include/QtNodes/internal/NodeData.hpp \
- include/QtNodes/internal/NodeDelegateModel.hpp \
- include/QtNodes/internal/NodeDelegateModelRegistry.hpp \
- include/QtNodes/internal/NodeGraphicsObject.hpp \
- include/QtNodes/internal/NodeState.hpp \
- include/QtNodes/internal/NodeStyle.hpp \
- include/QtNodes/internal/OperatingSystem.hpp \
- include/QtNodes/internal/QStringStdHash.hpp \
- include/QtNodes/internal/QUuidStdHash.hpp \
- include/QtNodes/internal/Serializable.hpp \
- include/QtNodes/internal/Style.hpp \
- include/QtNodes/internal/StyleCollection.hpp \
- include/QtNodes/internal/locateNode.hpp \
- src/ConnectionPainter.hpp \
- src/DefaultHorizontalNodeGeometry.hpp \
- src/DefaultVerticalNodeGeometry.hpp \
- src/NodeConnectionInteraction.hpp \
- src/UndoCommands.hpp
- SOURCES += \
- src/AbstractGraphModel.cpp \
- src/AbstractNodeGeometry.cpp \
- src/BasicGraphicsScene.cpp \
- src/ConnectionGraphicsObject.cpp \
- src/ConnectionPainter.cpp \
- src/ConnectionState.cpp \
- src/ConnectionStyle.cpp \
- src/DataFlowGraphModel.cpp \
- src/DataFlowGraphicsScene.cpp \
- src/DefaultHorizontalNodeGeometry.cpp \
- src/DefaultNodePainter.cpp \
- src/DefaultVerticalNodeGeometry.cpp \
- src/Definitions.cpp \
- src/GraphicsView.cpp \
- src/GraphicsViewStyle.cpp \
- src/NodeConnectionInteraction.cpp \
- src/NodeDelegateModel.cpp \
- src/NodeDelegateModelRegistry.cpp \
- src/NodeGraphicsObject.cpp \
- src/NodeState.cpp \
- src/NodeStyle.cpp \
- src/StyleCollection.cpp \
- src/UndoCommands.cpp \
- src/locateNode.cpp
- RESOURCES += \
- resources/resources.qrc
- # Default rules for deployment.
- unix {
- target.path = /usr/lib
- }
- !isEmpty(target.path): INSTALLS += target
|