[Qt-creator] CMake and Include Files
Mike Jackson
imikejackson at gmail.com
Thu Jul 16 16:18:47 CEST 2009
On 2009-07-15 19:19:11 -0400, Alexander Neundorf <neundorf at kde.org> said:
> On Wednesday 15 July 2009, Mike Jackson wrote:
>> I think Creator was using the CodeBlocks generator and not the KDevelop
>> one that I stated earlier.
>
> Yes, Creator is using the CodeBlocks generator.
>
>> As far as the include paths go CMake will find all the include paths
>> that are listed out in the CMakeLists.txt file. Usually through calls
>> like "include_directories" in the CMakeLists.txt files. In the
>> CodeBlocks generated XML file I think some of those were missing maybe
>> which is why we went looking in the visual studio xml files to see if
>> there were a more complete list, which there is.
>
> Can you please create a minimal testcase where the resulting CodeBlocks
> project file is missing some include directories ?
> This sounds like a bug in either CMake when it generates the project files, or
> Creator when it processes them.
Ok. The import was easy but not particularly obvious. I was looking for
"import ..." or something like that but simply opening the
CMakeLists.txt file did the trick. I had also already created the
CodeBlocks project files so it picked that up already which was nice. I
will try to work with Creator over the course of the day and see what
is and is not working correctly. I have Qt 4.5.1 installed on OS X
10.5.7. I am also using Boost, expat, hdf5 and tiff as external
libraries in my project so let's see what all is imported/indexed and
what gets missed.
Mike Jackson
More information about the Qt-creator-old
mailing list