<?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[Qt4: the qmake executable could not be added in QtCreator]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
I have compiled a Qt4 i386 on Linux 64 bit, then I have made the  install apparently without issues.</p>
<p dir="auto">When I try to add qmake in QT Versions in QtCreator I see the following issue and I don’t know why.</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/7796b853-37dc-4852-8850-481439f3ada8.png" alt="d4dbda48-a850-4d7d-8921-7b26786b60bb-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The qmake seems to be executable and 32 bits as expected, but I can't add in QtCreator.</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/2e46e840-1e55-4e7d-bb78-a5bfebe05659.png" alt="a0470c4a-a651-4caa-bbb7-522080244a14-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">--</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/2886efbc-abf4-4e2c-81f5-3a457bc298f8.png" alt="68812fa4-1a45-4d6a-8440-a1587461fc8d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks in advance for your help<br />
CP71</p>
]]></description><link>https://forum.qt.io/topic/145810/qt4-the-qmake-executable-could-not-be-added-in-qtcreator</link><generator>RSS for Node</generator><lastBuildDate>Thu, 29 Oct 2026 21:03:22 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145810.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Jun 2023 06:49:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt4: the qmake executable could not be added in QtCreator on Mon, 09 Oct 2023 15:20:01 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Qt</strong>	: 4.8.7<br />
<strong>qmake</strong>: 2.01a<br />
<strong>issue</strong>	: impossible to add qmake in “<strong>Qt versions</strong>”<br />
<strong>cause</strong>	: <strong>qmake -query</strong> returns only a property (  <strong>QT_INSTALL_PREFIX</strong> )<br />
<strong>fix</strong>	: call “<strong>qmake -set &lt;property&gt; &lt;data&gt;</strong>” for all missed properties</p>
<p dir="auto">Ok,<br />
finally I have found the reason because QtCreator doesn’t add qmake in “<strong>Qt Versions</strong>”.<br />
It was not easy, I have had to discover what QtCreator does when someone selects qmake, QtCreator runs “<strong>qmake -query</strong>” for selected qmake.</p>
<p dir="auto">So I have compared the output of two “<strong>qmake -query</strong>” (one good and one my compiled Qt 4) and I have seen:</p>
<ul>
<li>good qmake provides more proprieties about qt</li>
<li>my compiled qmake  provides only one property (<strong>QT_INSTALL_PREFIX</strong>)</li>
</ul>
<p dir="auto">It is very strange for me, because If I require a specific missed property (e.g. “<strong>qmake -query QT_INSTALL_BINS</strong>”) qmake provides the property info, but it is not be provided if I run “<strong>qmake -query</strong>”.</p>
<p dir="auto">So, the solution that I have found it is run “<strong>qmake -set</strong>” for all missed properties  ( e.g. “<strong>qmake -set QT_INSTALL_BINS &lt;folder bin&gt;</strong>” ).<br />
Then when I call  “ <strong>qmake -query</strong>” I see all properties.<br />
Now I am able to add qmake in QtCreator.</p>
]]></description><link>https://forum.qt.io/post/775404</link><guid isPermaLink="true">https://forum.qt.io/post/775404</guid><dc:creator><![CDATA[CP71]]></dc:creator><pubDate>Mon, 09 Oct 2023 15:20:01 GMT</pubDate></item></channel></rss>