Project context menu items for adding project library etc. greyed out
-
-
What I would like to do is add a sub-project to my project.
Both the main project and the sub-project use CMake.
The sub-project is an existing project that has classes I would like to use in my main project (i.e. include the headers I need in the main project).
The sub-project's classes are useful, so I have them in a separate project that I would reuse in many other project. -
From my experimentation, if you make a project with qmake build, those items work. If you have a cmake build, they are all greyed out. It seems that the IDE doesn't have those items integrated in yet. I wonder if there is a bug for this - there should be. I have to refactor into cmake projects. Luckily I caught this early before I had too much invested in my cmake file. I guess the expectation is for you to edit the cmakelists.txt directly???? That seems obtuse - the whole point of an IDE is to manage that for us.