I have a mixed C ++ / Qt / Python project managed in Eclipse and I would like to set the Qt paths without setting my project as a “Qt project”.
Using CDT and installing it as a general Makefile project from existing code, I cannot find any option in the project properties where I can set the Qt paths. The QT menu seems to disappear from the project property if the project is specified differently from the Qt Project.
I set the Qt enable path (for example / include / QtGui /) in the "C ++ General → Paths and Symbols" option, but the included ones (for example, #include) are still marked as "unresolved" Eclipse.
Could you help me configure Qt paths correctly?
UPDATE
I finished setting up the project as a “GUI Project GUI”, and then deleted all the files that the Qt plugin created for me, and then added all my C ++ include paths to the build configuration.
This worked, but, unfortunately, the “Qt Gui Project” lacks interesting functions that you can find in the standard “C ++” CDT project, like importing configurations from other projects, etc.
so I would still like to hear from you if you have any hints at setting up a clean C ++ project that uses Qt classes.
rmbianchi
source share