Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Verbose Log file for Indexer Activity
Verbose Log file for Indexer Activity [message #202642] Tue, 09 October 2007 15:34 Go to next message
Eclipse UserFriend
Is there a way to view the log file for the indexer? or switch it into
verbose mode? I am trying to use CDT on OS X 10.4 (intel) with Qt from
Trolltech and the indexer doesn't seem to like something about my
setup. I have built Qt as Frameworks which means I do NOT have the
traditional "include" directory that has all the Qt sub folders in
them. I have individual "Framework" directories that each contain the
headers. So for example I have:

/Users/Shared/Toolkits/Qt-423/lib/QtCore.framework/Headers
/Users/Shared/Toolkits/Qt-423/lib/QtGui.framework/Headers

I have added each of those directories in the "Paths and Symbols" table
in the project properties but this does not seem to make any difference.

If I rebuild Qt in the traditional unix way which will then produce an
"include" directory with all the Qt subfolders then the indexing seems
to work just fine.

I am using "#include <QMainWindow>" style of includes.

Could anyone offer any suggestions as to how to track down what is going wrong?

Thanks
Mike Jackson
Re: Verbose Log file for Indexer Activity [message #202676 is a reply to message #202642] Wed, 10 October 2007 04:52 Go to previous messageGo to next message
Eclipse UserFriend
Mike Jackson wrote:
> Is there a way to view the log file for the indexer? or switch it into
> verbose mode?

There are several tracing options available to analyze indexing problems.
Please see the following cdt-dev mailing list thread for more information:
http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg08941.html

HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
Re: Verbose Log file for Indexer Activity [message #202692 is a reply to message #202676] Wed, 10 October 2007 11:42 Go to previous messageGo to next message
Eclipse UserFriend
On 2007-10-10 04:52:43 -0400, Anton Leherbauer
<anton.leherbauer@windriver.com> said:

> Mike Jackson wrote:
>> Is there a way to view the log file for the indexer? or switch it into
>> verbose mode?
>
> There are several tracing options available to analyze indexing problems.
> Please see the following cdt-dev mailing list thread for more information:
> http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg08941.html
>
> HTH

Great.. that got me started.. Now.. Is there a way to have all this
dumped to a log file and not my console.log? I am on OS X 10.4 Intel
BTW. I am not familiar with the various options that eclipse can use
on start up. I am assuming it is one of these types of "hidden" options.


Thanks
Mike Jackson
Re: Verbose Log file for Indexer Activity [message #202700 is a reply to message #202676] Wed, 10 October 2007 12:07 Go to previous message
Eclipse UserFriend
On 2007-10-10 04:52:43 -0400, Anton Leherbauer
<anton.leherbauer@windriver.com> said:

> Mike Jackson wrote:
>> Is there a way to view the log file for the indexer? or switch it into
>> verbose mode?
>
> There are several tracing options available to analyze indexing problems.
> Please see the following cdt-dev mailing list thread for more information:
> http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg08941.html
>
> HTH

After the fact this is going to seem obvious but I'll state it none-the-less:
Using OS X frameworks and the "#include "QtGui/QDialog" is NOT going to
work with the indexer. If you did "#include "QDialog" instead that may
work. Unfortunately, the uic tool that generates a header file from
your GUI xml file uses the "QtGui/QDialog" style of import statement.

For now I built Qt both as frameworks and as libraries with 2
installations side by side. I use the Frameworks to link against and
the "non framework install" for the indexer. Now the indexer is happy
and code completion seems to better.

This is what I thought all along but I needed the log files to tell me
what was going wrong in order to satisfy myself.

Thanks
Mike Jackson
Previous Topic:Open Watcom
Next Topic:Integration of external tools
Goto Forum:
  


Current Time: Fri May 02 04:42:18 EDT 2025

Powered by FUDForum. Page generated in 0.28773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top