[Solved] How can I enrich completion on a project with another project
-
I have 2 qtcreator projects (say A and B). They compile fine, in A I use classes defined in the B project, hence I do not get completion for.
How can I tell qtcreator where to get them ?
What are the additional steps (if any) to get completion for those classes.
Thanks if you can help.
-
@statquant Hi!
How do you use classes from B in A? You should reference the source files containing those classes in A.pro, then completion should work. -
Hello, thanks for answering !
I simply use a full qualified like MyClassInB::myFunction is that what you mean ? The project A is linked against the library of project B (which works fine).EDIT: Actually I realized that I do not have a A.proj, I have
- A.config
- A.creator, A.creator.shared, A.creator.user
- A.files, A.include => (first contain cpp/h/xml..., second contain paths)
-
Hi and welcome to devnet,
The button you are seeking can be found clicking on the "Topic Tools" button :)