Hi! I tried to create a CMake project to experiment with libxml2 on Linux, and I ran into the following problem:
The libxml2 header files are in the /usr/include/libxml2/ directory which is not among the default system include paths, so I had to feed the CMAKE_CXX_FLAGS variable with the output of the "xml2-config --cflags" command (this generates "-I/usr/include/libxml2"). The problem is that the IDE is unaware of this new include path, so it doesn't find the libxml2 header files. Because of this, the editor underlines everything as undeclared identifier, code completion doesn't work, so it's actually much harder to work in Creator than in a plain text editor. (Compilation works fine). My question: is there a way to tell the IDE where to look for the header files? Or in CMake projects this is not implemented yet? Thanks, -- Tamás _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
