FlashMLA 加速推理技术
2026/1/14 18:29:47
最近想开发一个基于Node编辑的SOMEIP编辑器。因此需要将QtNodes项目引入到自己的项目中。
思路是将QtNodes作为submodule添加到自己git仓库中。
gitsubmoduleaddhttps://github.com/paceholder/nodeeditor.git 3rdparty/QtNodesgitadd.\.gitmodules .\3rdparty\QtNodes\gitcommit -a -m"Add QtNodes as submodules"gitpush originadd_subdirectory(3rdparty/QtNodes)。这样QtNodes将参与编译由于QtNode也是采用CMake作为编译工具,并且已经将头文件导出,因此不需要设置头文件目录。
以上便完成了在自己项目中引入QtNodes