<?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[The C Compiler  is not able to compile a simple test program!]]></title><description><![CDATA[<p dir="auto">Hello guys!<br />
I came across with a problem!<br />
I created a simple C++ project in Qt and I wanted to use CMake as its build tool and MSVC 2017 64bit kit.<br />
But as I show in image below, CMake says The C Compiler  is not able to compile a simple test program!<br />
I tried many ways and searched a lot with no luck!<br />
This is the error:<br />
<img src="https://ddgobkiprc33d.cloudfront.net/b135550c-68e3-4492-bd3d-ad4212071434.png" alt="0_1548945981026_39a8de70-b9b2-425c-843e-6f2f1782b588-image.png" class=" img-fluid img-markdown" /><br />
Can anyone point me to right direction?<br />
Really thanks!</p>
]]></description><link>https://forum.qt.io/topic/99195/the-c-compiler-is-not-able-to-compile-a-simple-test-program</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 01:37:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/99195.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Jan 2019 14:47:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The C Compiler  is not able to compile a simple test program! on Thu, 31 Jan 2019 16:31:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vronin">@<bdi>VRonin</bdi></a> Thanks but it doesn't fix the problem.<br />
Still get the same error!</p>
<p dir="auto">Edit: adding E:\Softwares\Qt\Tools\QtCreator\bin to path and then restart Qt Creator solve the problem!<br />
Thank you so much guys for your helps.</p>
]]></description><link>https://forum.qt.io/post/508681</link><guid isPermaLink="true">https://forum.qt.io/post/508681</guid><dc:creator><![CDATA[Nima Ghorab]]></dc:creator><pubDate>Thu, 31 Jan 2019 16:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to The C Compiler  is not able to compile a simple test program! on Thu, 31 Jan 2019 15:18:28 GMT]]></title><description><![CDATA[<p dir="auto"><code>CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX};E:/Softwares/Qt/Tools/QtCreator/bin</code></p>
]]></description><link>https://forum.qt.io/post/508680</link><guid isPermaLink="true">https://forum.qt.io/post/508680</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Thu, 31 Jan 2019 15:18:28 GMT</pubDate></item><item><title><![CDATA[Reply to The C Compiler  is not able to compile a simple test program! on Thu, 31 Jan 2019 15:14:21 GMT]]></title><description><![CDATA[<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/aha_1980">@<bdi>aha_1980</bdi></a> I find jom in my Qt installation directory: E:\Softwares\Qt\Tools\QtCreator\bin.</p>
<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/vronin">@<bdi>VRonin</bdi></a> thank you so much for your answer.<br />
I check that and this is mine: CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX}<br />
Should I change this to something like : CMAKE_PREFIX_PATH:STRING=E:\Softwares\Qt\Tools\QtCreator\bin ?</p>
]]></description><link>https://forum.qt.io/post/508679</link><guid isPermaLink="true">https://forum.qt.io/post/508679</guid><dc:creator><![CDATA[Nima Ghorab]]></dc:creator><pubDate>Thu, 31 Jan 2019 15:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to The C Compiler  is not able to compile a simple test program! on Thu, 31 Jan 2019 15:04:19 GMT]]></title><description><![CDATA[<p dir="auto">Tools-&gt;Options-&gt;Kits-&gt;select the kit you are using-&gt;click change in CMake Configuration-&gt;add the path to jom to the <code>CMAKE_PREFIX_PATH</code>. It should be something like <code>CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX};C:/Qt/Tools/QtCreator/bin</code></p>
]]></description><link>https://forum.qt.io/post/508673</link><guid isPermaLink="true">https://forum.qt.io/post/508673</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Thu, 31 Jan 2019 15:04:19 GMT</pubDate></item><item><title><![CDATA[Reply to The C Compiler  is not able to compile a simple test program! on Thu, 31 Jan 2019 15:01:36 GMT]]></title><description><![CDATA[<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/aha_1980">@<bdi>aha_1980</bdi></a> thank you so much for your answer.<br />
Where this  jom should be located? in MSVC installation path?</p>
]]></description><link>https://forum.qt.io/post/508670</link><guid isPermaLink="true">https://forum.qt.io/post/508670</guid><dc:creator><![CDATA[Nima Ghorab]]></dc:creator><pubDate>Thu, 31 Jan 2019 15:01:36 GMT</pubDate></item><item><title><![CDATA[Reply to The C Compiler  is not able to compile a simple test program! on Thu, 31 Jan 2019 14:53:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nima-ghorab">@<bdi>Nima-Ghorab</bdi></a>,</p>
<p dir="auto">from the output it is visible that <code>jom</code> cannot be called. Can you check that you actually have this program on your harddisk, and where?</p>
]]></description><link>https://forum.qt.io/post/508662</link><guid isPermaLink="true">https://forum.qt.io/post/508662</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Thu, 31 Jan 2019 14:53:22 GMT</pubDate></item></channel></rss>