This is also happening on my Linux Mint 17.1 installation. I have the latest 
CMake and QtCreator installed. Interestingly, on my linux box I have trouble 
with other include paths not being found although it really looks like they 
should be found. For instance on OS X, our project plugin sources were having 
issues until I changed some cmake codes to add some more paths. On linux, 
QtCreator can not complete a simple QComboBox or a boost_sharedptr<T>.

Odd

Cheers
Mike Jackson


On Dec 12, 2014, at 10:29 AM, Michael Jackson <[email protected]> wrote:

> I had to tweak my CMake files to massage the "include_directories()" command 
> to create paths that QtCreator would tie to a project so that they would get 
> included. It seems like some of the include paths would get used and others 
> ignored. I'll probably have to dive into the QtCreator code at some point to 
> try and figure it out. If anyone else has any other suggestions that would be 
> wonderful.
> 
> So just to be clear, I have a workaround but I had to change my project a bit 
> to make it work with QtCreator.
> 
> Thanks
> Mike Jackson
> 
> 
> On Dec 12, 2014, at 4:58 AM, Campbell Barton <[email protected]> wrote:
> 
>> Double checked the latests QtCreator 3.3 and the problem remains for
>> me too (infact I never had CMake+QtCreator project files working with
>> includes),
>> 
>> To be clear, if I have an include directory such as
>> "/opt/foo/bar/spam.h", CMake will correctly pass this onto the build
>> system.
>> But QtCreator won't find 'spam.h', which breaks parsing the source
>> files and makes QtCreator not very usable in these cases (no
>> autocompletion for eg).
>> 
>> This is important since, for example, I may use a custom library build
>> and want to develop to that, but in this case QtCreator becomes more a
>> text editor then an IDE.
>> 
>> So I still find it necessary to maintain my own project-file generator
>> for QtCreator:
>> 
>> https://developer.blender.org/diffusion/B/browse/master/build_files/cmake/cmake_qtcreator_project.py
>> https://developer.blender.org/diffusion/B/browse/master/build_files/cmake/project_source_info.py
>> 
>> On Wed, Dec 10, 2014 at 10:53 PM, Michael Jackson
>> <[email protected]> wrote:
>>> I am still having issues with Include paths in my CMake project not being 
>>> picked up by QtCreator. What is funny is that they worked just fine in the 
>>> QtCreator 3.2 but not in 3.3. I have tried tweaking my CMakeLists.txt file 
>>> but nothing I am trying seems to get all of the include paths that are 
>>> needed by project. My project builds just fine, whether inside or outside 
>>> of QtCreator. Just that now I am not getting any code completion for about 
>>> half my code base.
>>> 
>>> This is on OS X 10.8. Has anyone else seen this? Was this a by-product of 
>>> the OS X Framework includes issues? (Those work GREAT btw).
>>> 
>>> Thanks
>>> Mike Jackson
>>> 
>>> _______________________________________________
>>> Qt-creator mailing list
>>> [email protected]
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>> 
>> 
>> 
>> -- 
>> - Campbell
> 

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to