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"

轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/61571.html
標籤:工具平臺和程序庫
