How to compile headers with multiple cpp files
-
Suppose, I have header buffer.h and three cpp files that include that file, how can I compile it using QT editor?
-
Suppose, I have header buffer.h and three cpp files that include that file, how can I compile it using QT editor?
I'm not aware of a Qt editor and even if you mean QtCreator it's just an IDE an not a compiler. If you want to use a header in all of your three sources than include them in all three.
-