<?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[Portable path separator in pro-files?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">is there a portable way to separate directories in pro-files in function system()? Currently on Windows I have to write:<br />
@<br />
system(cd tests\test1)<br />
@</p>
<p dir="auto">while on Linux I have to write:</p>
<p dir="auto">@<br />
system(cd test/test1)<br />
@</p>
<p dir="auto">I know there is variable QMAKE_DIR_SEP, but it is undocumented. By the way, where this variable is defined?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.qt.io/topic/42200/portable-path-separator-in-pro-files</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 00:30:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/42200.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jun 2014 12:38:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Portable path separator in pro-files? on Fri, 06 Jun 2014 08:39:40 GMT]]></title><description><![CDATA[<p dir="auto">The something like</p>
<p dir="auto">@<br />
TARGET_DIR = test/test1<br />
win32:TARGET_DIR = $$replace(TARGET_DIR, /, \)<br />
@</p>
]]></description><link>https://forum.qt.io/post/231158</link><guid isPermaLink="true">https://forum.qt.io/post/231158</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 06 Jun 2014 08:39:40 GMT</pubDate></item><item><title><![CDATA[Reply to Portable path separator in pro-files? on Fri, 06 Jun 2014 06:59:34 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, but I need a solution for Qt 4 and Qt 5</p>
]]></description><link>https://forum.qt.io/post/231148</link><guid isPermaLink="true">https://forum.qt.io/post/231148</guid><dc:creator><![CDATA[Alexey]]></dc:creator><pubDate>Fri, 06 Jun 2014 06:59:34 GMT</pubDate></item><item><title><![CDATA[Reply to Portable path separator in pro-files? on Wed, 04 Jun 2014 12:59:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">If you are using Qt 5 then you have system_path</p>
<p dir="auto">@system(cd $$system_path(test/test1))@</p>
<p dir="auto">Or something similar</p>
<p dir="auto">Hope it helps</p>
]]></description><link>https://forum.qt.io/post/230963</link><guid isPermaLink="true">https://forum.qt.io/post/230963</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 04 Jun 2014 12:59:34 GMT</pubDate></item></channel></rss>