QtNodes.pro 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. QT += core gui opengl
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. TEMPLATE = lib
  4. DEFINES += NODE_EDITOR_SHARED NODE_EDITOR_EXPORTS
  5. CONFIG += c++14
  6. DESTDIR = $$PWD/../bin #指定生成的应用程序放置的路径
  7. CONFIG(debug, release|debug){
  8. win32:TARGET = QtNodesd
  9. else:TARGET = QtNodes
  10. } else {
  11. TARGET = QtNodes
  12. }
  13. # You can make your code fail to compile if it uses deprecated APIs.
  14. # In order to do so, uncomment the following line.
  15. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  16. INCLUDEPATH += include \
  17. include/QtNodes/internal
  18. HEADERS += \
  19. include/QtNodes/AbstractGraphModel \
  20. include/QtNodes/AbstractNodePainter \
  21. include/QtNodes/BasicGraphicsScene \
  22. include/QtNodes/ConnectionIdUtils \
  23. include/QtNodes/ConnectionStyle \
  24. include/QtNodes/DataFlowGraphModel \
  25. include/QtNodes/DataFlowGraphicsScene \
  26. include/QtNodes/DefaultNodePainter \
  27. include/QtNodes/Definitions \
  28. include/QtNodes/GraphicsView \
  29. include/QtNodes/GraphicsViewStyle \
  30. include/QtNodes/NodeData \
  31. include/QtNodes/NodeDelegateModel \
  32. include/QtNodes/NodeDelegateModelRegistry \
  33. include/QtNodes/NodeGeometry \
  34. include/QtNodes/NodeState \
  35. include/QtNodes/NodeStyle \
  36. include/QtNodes/StyleCollection \
  37. include/QtNodes/internal/AbstractGraphModel.hpp \
  38. include/QtNodes/internal/AbstractNodeGeometry.hpp \
  39. include/QtNodes/internal/AbstractNodePainter.hpp \
  40. include/QtNodes/internal/BasicGraphicsScene.hpp \
  41. include/QtNodes/internal/Compiler.hpp \
  42. include/QtNodes/internal/ConnectionGraphicsObject.hpp \
  43. include/QtNodes/internal/ConnectionIdHash.hpp \
  44. include/QtNodes/internal/ConnectionIdUtils.hpp \
  45. include/QtNodes/internal/ConnectionState.hpp \
  46. include/QtNodes/internal/ConnectionStyle.hpp \
  47. include/QtNodes/internal/DataFlowGraphModel.hpp \
  48. include/QtNodes/internal/DataFlowGraphicsScene.hpp \
  49. include/QtNodes/internal/DefaultNodePainter.hpp \
  50. include/QtNodes/internal/Definitions.hpp \
  51. include/QtNodes/internal/Export.hpp \
  52. include/QtNodes/internal/GraphicsView.hpp \
  53. include/QtNodes/internal/GraphicsViewStyle.hpp \
  54. include/QtNodes/internal/NodeData.hpp \
  55. include/QtNodes/internal/NodeDelegateModel.hpp \
  56. include/QtNodes/internal/NodeDelegateModelRegistry.hpp \
  57. include/QtNodes/internal/NodeGraphicsObject.hpp \
  58. include/QtNodes/internal/NodeState.hpp \
  59. include/QtNodes/internal/NodeStyle.hpp \
  60. include/QtNodes/internal/OperatingSystem.hpp \
  61. include/QtNodes/internal/QStringStdHash.hpp \
  62. include/QtNodes/internal/QUuidStdHash.hpp \
  63. include/QtNodes/internal/Serializable.hpp \
  64. include/QtNodes/internal/Style.hpp \
  65. include/QtNodes/internal/StyleCollection.hpp \
  66. include/QtNodes/internal/locateNode.hpp \
  67. src/ConnectionPainter.hpp \
  68. src/DefaultHorizontalNodeGeometry.hpp \
  69. src/DefaultVerticalNodeGeometry.hpp \
  70. src/NodeConnectionInteraction.hpp \
  71. src/UndoCommands.hpp
  72. SOURCES += \
  73. src/AbstractGraphModel.cpp \
  74. src/AbstractNodeGeometry.cpp \
  75. src/BasicGraphicsScene.cpp \
  76. src/ConnectionGraphicsObject.cpp \
  77. src/ConnectionPainter.cpp \
  78. src/ConnectionState.cpp \
  79. src/ConnectionStyle.cpp \
  80. src/DataFlowGraphModel.cpp \
  81. src/DataFlowGraphicsScene.cpp \
  82. src/DefaultHorizontalNodeGeometry.cpp \
  83. src/DefaultNodePainter.cpp \
  84. src/DefaultVerticalNodeGeometry.cpp \
  85. src/Definitions.cpp \
  86. src/GraphicsView.cpp \
  87. src/GraphicsViewStyle.cpp \
  88. src/NodeConnectionInteraction.cpp \
  89. src/NodeDelegateModel.cpp \
  90. src/NodeDelegateModelRegistry.cpp \
  91. src/NodeGraphicsObject.cpp \
  92. src/NodeState.cpp \
  93. src/NodeStyle.cpp \
  94. src/StyleCollection.cpp \
  95. src/UndoCommands.cpp \
  96. src/locateNode.cpp
  97. RESOURCES += \
  98. resources/resources.qrc
  99. # Default rules for deployment.
  100. unix {
  101. target.path = /usr/lib
  102. }
  103. !isEmpty(target.path): INSTALLS += target