<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[qtcreator does not find my headers]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am working on a C++ library project on MacOS using qtcreator. I am using the import of existing project not using Qt.</p>
<p dir="auto">My library project is composed of a big numbers of sub directories (and sub sub directories), containing each cpp and headers files. Before, using qtcreator 4, the .includes file of my project was correctly filled automatically to contains all the subdirectories and the project was correctly finding all my headers.</p>
<p dir="auto">No, I moved on qtcreator 10, this does not work anymore. My .includes file stay empty and none of my headers are found. Adding them one by one is clearly not a good solution.</p>
<p dir="auto">Do you have any idea of why this is happening like this ?</p>
<p dir="auto">Thanks in advance</p>
<p dir="auto">Jérémie</p>
]]></description><link>https://forum.qt.io/topic/146063/qtcreator-does-not-find-my-headers</link><generator>RSS for Node</generator><lastBuildDate>Mon, 26 Oct 2026 21:46:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/146063.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jun 2023 07:14:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 09:16:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> sorry for that, it seems indeed much more appropriate :)</p>
]]></description><link>https://forum.qt.io/post/762851</link><guid isPermaLink="true">https://forum.qt.io/post/762851</guid><dc:creator><![CDATA[jdudouet]]></dc:creator><pubDate>Wed, 28 Jun 2023 09:16:03 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 09:00:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdudouet">@<bdi>jdudouet</bdi></a> said in <a href="/post/762848">qtcreator does not find my headers</a>:</p>
<blockquote>
<p dir="auto">open a project and selecting the main CMakeList.txt ?</p>
</blockquote>
<p dir="auto">yes</p>
]]></description><link>https://forum.qt.io/post/762850</link><guid isPermaLink="true">https://forum.qt.io/post/762850</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 28 Jun 2023 09:00:06 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 08:54:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> no idea... I alwas done like this :( So what am I supposed to do, open a project and selecting the main CMakeList.txt ?</p>
]]></description><link>https://forum.qt.io/post/762848</link><guid isPermaLink="true">https://forum.qt.io/post/762848</guid><dc:creator><![CDATA[jdudouet]]></dc:creator><pubDate>Wed, 28 Jun 2023 08:54:58 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 08:45:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdudouet">@<bdi>jdudouet</bdi></a> said in <a href="/post/762844">qtcreator does not find my headers</a>:</p>
<blockquote>
<p dir="auto">So for this I create a new project using "import an existing project".</p>
</blockquote>
<p dir="auto">Why? If the project you're importing uses CMake you simply open it directly in QtCreator like any other CMake based project.</p>
]]></description><link>https://forum.qt.io/post/762846</link><guid isPermaLink="true">https://forum.qt.io/post/762846</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 28 Jun 2023 08:45:56 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 08:42:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> I am working on a C++ library based on CMake for the compilation: <a href="https://gitlab.in2p3.fr/ip2i_gamma/agapro" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.in2p3.fr/ip2i_gamma/agapro</a></p>
<p dir="auto">I am using qtcreator as an IDE to benefits from all the powerful tools for navigating in the code and having the code analysis and debugging. So for this I create a new project using "import an existing project".</p>
<p dir="auto">Once I select all the files of my project, I can correctly edit all my files, but I have plenty or errrors saying that my headers (part of the project) are not found by clangd.</p>
<p dir="auto">When I was using qtcreator 4, at the project creation, my file myproject.includes was automatically fill with all the different subfolders of my project. Thanks to this, the headers were correctly found, but now, this .includes file is no more filled.</p>
<p dir="auto">Is it clearer ?</p>
]]></description><link>https://forum.qt.io/post/762844</link><guid isPermaLink="true">https://forum.qt.io/post/762844</guid><dc:creator><![CDATA[jdudouet]]></dc:creator><pubDate>Wed, 28 Jun 2023 08:42:58 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 08:35:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdudouet">@<bdi>jdudouet</bdi></a> It is not really clear what you mean. Are you trying to open a CMake based project in QtCreator and build it?  Or are you trying to add a library to your project? If it is the later you need to specify the location of the library header files in your project if QtCreator did not do that.<br />
Can you please explain what exactly are you doing?</p>
]]></description><link>https://forum.qt.io/post/762842</link><guid isPermaLink="true">https://forum.qt.io/post/762842</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 28 Jun 2023 08:35:49 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 08:23:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> Sorry, I am using CMake, but I don't have the feeling that using external project, my CMake files are really used</p>
]]></description><link>https://forum.qt.io/post/762840</link><guid isPermaLink="true">https://forum.qt.io/post/762840</guid><dc:creator><![CDATA[jdudouet]]></dc:creator><pubDate>Wed, 28 Jun 2023 08:23:15 GMT</pubDate></item><item><title><![CDATA[Reply to qtcreator does not find my headers on Wed, 28 Jun 2023 07:26:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdudouet">@<bdi>jdudouet</bdi></a> You did not mention the build system you're using (CMake, QMake, ...).</p>
]]></description><link>https://forum.qt.io/post/762833</link><guid isPermaLink="true">https://forum.qt.io/post/762833</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 28 Jun 2023 07:26:20 GMT</pubDate></item></channel></rss>