Home > Back-end >  Qt subroutine call in the header file
Qt subroutine call in the header file

Time:09-22

Qt beginners want to ask the question:

I put two subroutines in Qt, call A and B here, then include the more complex the other in A header file, using A function in B shows can't find A reference to the header file, this is because there is no right reference? Or B calls A time, the other the header file will include together?

In the file included the 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
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
1 error generated.
Make [1] : * * * [mainwindow. O] Error 1
Make: * * * [sub - sub_Editor - Editor - pro - make_first] Error 2
10:05:49: process "/usr/bin/make" quit, exit code 2,
Error while building/deploying project test_STF (kit: Desktop Qt 5.12.8 clang 64 - bit)
The When executing step "Make"
  • Related