mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
refactor: change include structure
This commit is contained in:
parent
888f812858
commit
4ae82ce124
@ -24,7 +24,9 @@ if(QV2RAY_QNODEEDITOR_PROVIDER STREQUAL "module")
|
||||
${QNODEEDITOR_DIR}/src/Properties.cpp
|
||||
${QNODEEDITOR_DIR}/src/StyleCollection.cpp
|
||||
)
|
||||
|
||||
set(QNODEEDITOR_INCLUDE_PATH
|
||||
${QNODEEDITOR_DIR}/include
|
||||
${QNODEEDITOR_DIR}/include/nodes/internal
|
||||
)
|
||||
|
||||
@ -80,5 +82,4 @@ if(QV2RAY_QNODEEDITOR_PROVIDER STREQUAL "module")
|
||||
elseif(QV2RAY_QNODEEDITOR_PROVIDER STREQUAL "package")
|
||||
find_package(NodeEditor REQUIRED CONFIG)
|
||||
set(QNODEEDITOR_LIBRARY NodeEditor::nodes)
|
||||
find_path(QNODEEDITOR_INCLUDE_PATH Node.hpp PATH_SUFFIXES nodes/internal)
|
||||
endif()
|
||||
|
@ -1 +1 @@
|
||||
5528
|
||||
5529
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "w_RoutesEditor.hpp"
|
||||
|
||||
#include "FlowScene.hpp"
|
||||
#include "FlowView.hpp"
|
||||
#include "FlowViewStyle.hpp"
|
||||
#include "NodeStyle.hpp"
|
||||
#include <nodes/internal/FlowScene.hpp>
|
||||
#include <nodes/internal/FlowView.hpp>
|
||||
#include <nodes/internal/FlowViewStyle.hpp>
|
||||
#include <nodes/internal/NodeStyle.hpp>
|
||||
#include "core/CoreUtils.hpp"
|
||||
#include "core/connection/ConnectionIO.hpp"
|
||||
#include "core/connection/Generation.hpp"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "ConnectionStyle.hpp"
|
||||
#include "Node.hpp"
|
||||
#include "NodeData.hpp"
|
||||
#include <nodes/internal/ConnectionStyle.hpp>
|
||||
#include <nodes/internal/Node.hpp>
|
||||
#include <nodes/internal/NodeData.hpp>
|
||||
#include "base/Qv2rayBase.hpp"
|
||||
#include "common/QvHelpers.hpp"
|
||||
#include "ui/messaging/QvMessageBus.hpp"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "FlowScene.hpp"
|
||||
#include <nodes/internal/FlowScene.hpp>
|
||||
#include "core/CoreUtils.hpp"
|
||||
#include "ui/common/UIBase.hpp"
|
||||
#include "ui/models/InboundNodeModel.hpp"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "NodeDataModel.hpp"
|
||||
#include "PortType.hpp"
|
||||
#include <nodes/internal/NodeDataModel.hpp>
|
||||
#include <nodes/internal/PortType.hpp>
|
||||
#include "common/QvHelpers.hpp"
|
||||
|
||||
#include <QLabel>
|
||||
|
Loading…
Reference in New Issue
Block a user