It seems that there are problems finding symbols which require searching in paths other than the one where the current CPP file resides. For example, I am developing Windows apps using the Qt libraries. So I have all of my sources and headers in one single directory divided up into two group folders: "include" and "src". This works fine ... UEStudio can find anything in any header in that directory.
But I would also like to look up symbols in the Qt source files. So I install the sources and add the main Qt "include" directory to the main environment variables (PATH and INCLUDE), in "Compiler Options" I set "Additional Include Directories" to the Qt include directory, and I also add it to the project. I have tried adding it both as a group (i.e. virtual folder) and as a real folder.
In one of my header files, which extends a built-in Qt class, I have an #include statement and a class definition as follows:
- Code: Select all
class AlphaSpinBox : public QSpinBox
AlphaSpinBox(QWidget *parent = 0);
int valueFromText(const QString &text) const;
QString textFromValue(int value) const;
This code works fine when I compile it from the command line (I'm not even talking about compilation here, just finding symbols ... so it should also work from within UEStudio).
When I try to find the definition for "QSpinBox", it can't find it. However, now I get status messages "Parsing xxx of 2500 files..." whenever I open the program...
I tried the following (after waiting for the parsing orgy to stop):
1. changing the forward slash to a backslash;
2. inserting the full path and file name of QSpinBox (which is a dummy include for other header files);
3. inserting the full path and file name of the "real" include file inside quotes;
4. reparsing the active CPP file after every step.
Still, I always get the "symbol QSpinBox was not found!" status message. I'm sorry, but every compiler in the world can resolve include paths better than UEStudio! This can't be rocket science, can it??