<?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[Error while building Qt from source code on macOS]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I want to be able to debug into qt source code so i started compiling the latest Qt version 5.8 on my MAC.<br />
I followed the instructions on Qt webpage about building it. But this is what i get after running configure.</p>
<pre><code>**../qt-everywhere-opensource-src-5.8.0/configure -prefix /Users/userName/qt-install-5.8 0 -opensource -debug-and-release
+ cd qtbase
+ /Users/userName/qt-everywhere-opensource-src-5.8.0/qtbase/configure -top-level -prefix /Users/username/qt-install-5.8 0 -opensource -debug-and-release

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) version 2.

Type 'L' to view the GNU Lesser General Public License version 3.
Type 'G' to view the GNU General Public License version 2.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Preparing build tree...
Creating qmake...
............................................................................................Done.

ERROR: Invalid command line parameter '0'.**
</code></pre>
<p dir="auto">I don't understand the last line. I was trying to do a shadow build by creating a new folder for build. I also specified the install directory while running config above. After running config, these are the files that got created in my build folder.</p>
<p dir="auto">config.cache	config.log	qtbase</p>
<p dir="auto">Does this look correct.?</p>
<p dir="auto">I am a newbie to MAC platform but i've completed compiling QT from sources on windows &amp; linux.</p>
<p dir="auto">When i run make, this is what i got</p>
<pre><code>make
make: *** No targets specified and no makefile found.  Stop
</code></pre>
<p dir="auto">Thanks in advance for your help.</p>
]]></description><link>https://forum.qt.io/topic/76333/error-while-building-qt-from-source-code-on-macos</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 05:33:21 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/76333.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Feb 2017 13:42:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error while building Qt from source code on macOS on Sat, 18 Feb 2017 23:57:18 GMT]]></title><description><![CDATA[<p dir="auto">Thank you @SGaist.<br />
Sorry for this stupid mistake.</p>
<p dir="auto">I'll try with this and compile QT on mac.<br />
Thanks again</p>
]]></description><link>https://forum.qt.io/post/376835</link><guid isPermaLink="true">https://forum.qt.io/post/376835</guid><dc:creator><![CDATA[qtProgrammer]]></dc:creator><pubDate>Sat, 18 Feb 2017 23:57:18 GMT</pubDate></item><item><title><![CDATA[Reply to Error while building Qt from source code on macOS on Sat, 18 Feb 2017 21:59:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You prefix parameter is wrong. It's missing a point between 8 and 0.</p>
]]></description><link>https://forum.qt.io/post/376814</link><guid isPermaLink="true">https://forum.qt.io/post/376814</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 18 Feb 2017 21:59:49 GMT</pubDate></item></channel></rss>