Add them to the SOURCES and HEADERS variable in your project file.
I'm sorry, but I don't know what project file.
I created my project by: 'New Project' -> 'Import Existing Project' and indicate the location. I couldn't use any other way because of some reasons which would be hard to explain with my poor english
So I don't have a project file. Only 5 files are created in the folder: xy.config/xy.creator/xy.creator.user/xy.files/xy.includes
I can add files by 'Add Existing Files', but there are many subfolders and I would have to do it for every folder. And I'm afraid things like jumping to functions (by F2) into other files than the current opened don't work, because he doesn't recognize my files as C++ files.
I don't have a pro file. Does anybody know another way to tell QtCreator to handle certain files as C++ files? Maybe in general, independent from the current project?
Bookmarks