Qt新手想请教一下问题:
我在Qt里面放了两个子程序,这里称呼A和B,然后A里include了比较复杂的其他header file,在B里面用A的函数显示找不到A引用的那些header file,这个是因为没有正确引用吗?还是说B调用A的时候,其他的那些header file也要一起include?
In file included from ../../../test_STF/sub_Editor/mainwindow.cpp:7:
../../../test_STF/sub_Editor/../../test_STF/clearComStf/src/clearstf.h:7:10: fatal error: 'io/tokenscanner.h' file not found
#include <io/tokenscanner.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [mainwindow.o] Error 1
make: *** [sub-sub_Editor-Editor-pro-make_first] Error 2
10:05:49: 进程"/usr/bin/make"退出,退出代码 2 。
Error while building/deploying project test_STF (kit: Desktop Qt 5.12.8 clang 64bit)
When executing step "Make"