<?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[Modifying Makefiles directly...the right way to do it?]]></title><description><![CDATA[<p dir="auto">Hi all-</p>
<p dir="auto">Okay, I've been playing around with QT long enough that I'm starting to work with "real" projects that require including other libraries. Being used to IDEs like Eclipse and VS, I figured I'd add my additional library paths somewhere in QT Creator, and it kind of looks like that with the "Make arguments" edit box, but it appears that does not seem to actually affect the build.</p>
<p dir="auto">I went into the build directory and modified the Makefile.Debug and Makefile.Release files directly to include my extra -I and -L parameters, and it built correctly.</p>
<p dir="auto">I couldn't find any specific information about what is the "right" way to do this; is modifying the files the proper way to do it? I don't mind modifying the files directly, but wanted to make sure they weren't going to get deleted then recreated by QT Creator for some reason, losing my changes.</p>
<p dir="auto">Thanks for any info,</p>
<p dir="auto">Ron</p>
]]></description><link>https://forum.qt.io/topic/1769/modifying-makefiles-directly-the-right-way-to-do-it</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 15:38:39 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/1769.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Nov 2010 21:21:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modifying Makefiles directly...the right way to do it? on Tue, 16 Nov 2010 23:57:18 GMT]]></title><description><![CDATA[<p dir="auto">You're welcome. Sometimes the old aunt google is picky about what she's telling you :-)</p>
]]></description><link>https://forum.qt.io/post/60126</link><guid isPermaLink="true">https://forum.qt.io/post/60126</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 16 Nov 2010 23:57:18 GMT</pubDate></item><item><title><![CDATA[Reply to Modifying Makefiles directly...the right way to do it? on Tue, 16 Nov 2010 23:51:33 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot for the info; I didn't find that section in the documentation (I guess sometimes Google isn't my friend ;))</p>
]]></description><link>https://forum.qt.io/post/60125</link><guid isPermaLink="true">https://forum.qt.io/post/60125</guid><dc:creator><![CDATA[tachoknight]]></dc:creator><pubDate>Tue, 16 Nov 2010 23:51:33 GMT</pubDate></item><item><title><![CDATA[Reply to Modifying Makefiles directly...the right way to do it? on Tue, 16 Nov 2010 22:59:10 GMT]]></title><description><![CDATA[<p dir="auto">See "Declaring Other Libraries":<a href="http://doc.qt.nokia.com/4.7/qmake-project-files.html#declaring-other-libraries" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.nokia.com/4.7/qmake-project-files.html#declaring-other-libraries</a> in the qmake docs for enhancing your .pro file. Whenever you re-run qmake the changes in the generated makefiles are overwritten.</p>
]]></description><link>https://forum.qt.io/post/60117</link><guid isPermaLink="true">https://forum.qt.io/post/60117</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 16 Nov 2010 22:59:10 GMT</pubDate></item><item><title><![CDATA[Reply to Modifying Makefiles directly...the right way to do it? on Tue, 16 Nov 2010 22:31:47 GMT]]></title><description><![CDATA[<p dir="auto">Please do not modify the generated Makefiles. Your changes will get overridden as soon as you run qmake. Edit the .pro-file instead (syntax is much nicer too, at least as long as you do simple things:-) and run qmake again.</p>
]]></description><link>https://forum.qt.io/post/60107</link><guid isPermaLink="true">https://forum.qt.io/post/60107</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 16 Nov 2010 22:31:47 GMT</pubDate></item></channel></rss>