[Qt-creator] broken parsing of include-files

Wilhelm wilhelm.meier at fh-kl.de
Fri Jan 15 08:45:00 CET 2010


Hi all,

if I try to use the boost-libs and thread-suppport, I get some strange 
behaviour of qtcreator parsing the headers. Consider the following example:

-----
#include <boost/thread.hpp>

// should not be neccessary !?!
#include <boost/thread/pthread/mutex.hpp>

class Test {
     boost::mutex m;
};
-----

The line
#include <boost/thread/pthread/mutex.hpp>
shouldn't be neccessary and it compiles fine without the line, but 
qtcreator ist missing the type boost::mutex and underlines it.

I think this is a bug in parsing the header-files.


-- 
Wilhelm




More information about the Qt-creator-old mailing list