Solved Including .h files in a new project
-
Hello,
I'm studying the official book of Qt (Qt 4.8). In chapter three in a new program I should inculde some prior .h files into the .ccp file. The prior .h files that I have are of previous chapters.
For adding them (so that the pre-processor command #include works) I think I should copy those .h files either into the new project's folde or the include folder of the path Qt has been installed. Am I right?
If, so, which one would you do? -
Hi! Copy the files into your project's directory. Never touch the Qt directory. :-)
-
Hi! Copy the files into your project's directory. Never touch the Qt directory. :-)
-
@Wieland said in Including .h files in a new project:
Hi! Copy the files into your project's directory. Never touch the Qt directory. :-)
Good remark, thanks, I will always do that.. :-)