On 15 Feb 2012, at 12:07, ext Danny Price wrote: > Hey guys, > > Creator's code completion has always been first class but recently I've been > having some issues with it. > > I installed GCC 4.6.0 to make use of the new C++11 features and boost 4.8. > > Creator's editor doesn't understand the new syntax like the new range > iterators but I can live with that as the code compiles. > > However it fails to offer completions for things like std::shared_ptr or > std::unordered_map even though the headers are included and the code > compiles. Yet similar constructs in boost, like boost::shared_ptr get > resolved. > > Visual Studio (or rather VA Assist as Visual Studio's C++ 'intellisence' is > rubbish) has a list of editable paths and a database from which it gathers > all the symbols but I couldn't see anything like that in Creator. How is it > building these completions?
Qt Creator gets the system include paths by calling "gcc -xc++ -E -v". It also collects all INCLUDEPATH entries from the project's .pro/.pri files. -- Eike Ziller Principal Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
