<?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[Unable to build a Qt project in command-line]]></title><description><![CDATA[<p dir="auto">Hello there,</p>
<p dir="auto">I have a qt 'subdirs' project that I have created in QtCreator and have been able to build and deploy well. There is a need to automate the build. So I am attempting to build the same project from the command-line.</p>
<p dir="auto">I have Qt version 5.2.1 installed and I have been using the 64-bit msvc2012 version on windows 7.</p>
<p dir="auto">Qt is installed at C:\Qt\Qt5.2.1. I added C:\Qt\Qt5.2.1\5.2.1\msvc2012_64\bin to PATH (for qmake.exe etc.,), I added C:\Qt\Qt5.2.1\Tools\QtCreator\bin to PATH (for jom.exe), I added the &lt;VS-Install-location&gt;\Common7\IDE (for mvs dependencies), &lt;VS-Install-location&gt;\VC\bin (for cl.exe etc.,).</p>
<p dir="auto">First I ran qmake.exe (which succeeded).</p>
<p dir="auto">When I run jom.exe (or nmake for that matter), I get an error</p>
<p dir="auto">fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory</p>
<p dir="auto">I know where stddef.h is location on my PC, but how do I enable jom.exe (or nmake) to be able to find it?</p>
<p dir="auto">Regards,<br />
Bharath</p>
]]></description><link>https://forum.qt.io/topic/42505/unable-to-build-a-qt-project-in-command-line</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 19:19:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/42505.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Jun 2014 12:35:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to build a Qt project in command-line on Tue, 17 Jun 2014 11:20:29 GMT]]></title><description><![CDATA[<p dir="auto">Good !</p>
<p dir="auto">Then please update the thread title prepending [solved] so other forum users may know a solution has been found :)</p>
]]></description><link>https://forum.qt.io/post/232206</link><guid isPermaLink="true">https://forum.qt.io/post/232206</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 17 Jun 2014 11:20:29 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to build a Qt project in command-line on Tue, 17 Jun 2014 09:29:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I figured it out. I had to run the vcvarsall.bat script with 'x64' as the argument and setup the the other path variables.</p>
<p dir="auto">Thanks for your help.</p>
<p dir="auto">Cheers!<br />
Bharath</p>
]]></description><link>https://forum.qt.io/post/232192</link><guid isPermaLink="true">https://forum.qt.io/post/232192</guid><dc:creator><![CDATA[bharath144]]></dc:creator><pubDate>Tue, 17 Jun 2014 09:29:33 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to build a Qt project in command-line on Tue, 17 Jun 2014 09:17:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for the response. I get what you are saying. I am running Qt5.2.1 and I unable to find that (batch) script which will setup the environment for me. Can you tell me where I can find it?</p>
<p dir="auto">Cheers!<br />
Bharath</p>
]]></description><link>https://forum.qt.io/post/232188</link><guid isPermaLink="true">https://forum.qt.io/post/232188</guid><dc:creator><![CDATA[bharath144]]></dc:creator><pubDate>Tue, 17 Jun 2014 09:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to build a Qt project in command-line on Fri, 13 Jun 2014 21:25:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You should either start from a Qt command line or at least from a Visual Studio command line. Otherwise there are batch files that you can call to setup the environment for you.</p>
]]></description><link>https://forum.qt.io/post/231865</link><guid isPermaLink="true">https://forum.qt.io/post/231865</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 13 Jun 2014 21:25:51 GMT</pubDate></item></channel></rss>