<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Ray,</span></div><div><span><br></span></div><div><span>IMHO first solution is the easiest and also the best one :)</span></div><div><span><br></span></div><div><span>Cheers,</span></div><div><span>BogDan.<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> mingw android &lt;mingw.android@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> necessitas-devel@kde.org<br><b><span style="font-weight: bold;">Sent:</span></b> Saturday, June 18, 2011 3:44 PM<br><b><span
 style="font-weight: bold;">Subject:</span></b> Canvassing opinion on an issue.<br></font><br>
Hi everyone.<br><br>Some of us spoke about this briefly at the QCS Necessitas day, but I'm<br>still undecided about what is the best way to go.<br><br>Currently, on the Windows version, Clean Project (and a few other<br>things) do not work because we include include(../common/linux.conf)<br>in android-g++/mkspecs.conf and that has lines like:<br>QMAKE_COPY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = cp -f<br>QMAKE_CHK_DIR_EXISTS&nbsp; = test -d<br>...etc, and without a minGW environment, these programs won't exist.<br><br>So there's 3 ways I can go:<br><br>1. Put switching logic (as suggested by Espen, as per the symbian<br>port) into the android-g++/mkspecs.conf so that it loads a different<br>file on Windows, something like:<br><br>contains(QMAKE_HOST.os,Windows) {<br>&nbsp; &nbsp; include(../unsupported/linux-hosted-on-cmd-exe.conf)<br>} else {<br>&nbsp; &nbsp; include(../common/linux.conf)<br>}<br><br>that then defines those qmake vars to use the
 standard cmd.exe versions:<br>QMAKE_COPY&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; = copy /y<br>QMAKE_CHK_DIR_EXISTS&nbsp;&nbsp;&nbsp; = if not exist<br><br>2. I bite the bullet and compile all of the needed programs, like I do<br>for make.exe already.<br><br>3. Install a full MinGW environment at install time as QtCreator mainline does.<br><br>I'm leaning towards 3 myself.<br><br>Cheers,<br><br>Ray.<br>_______________________________________________<br>Necessitas-devel mailing list<br><a ymailto="mailto:Necessitas-devel@kde.org" href="mailto:Necessitas-devel@kde.org">Necessitas-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/necessitas-devel" target="_blank">https://mail.kde.org/mailman/listinfo/necessitas-devel</a><br><br><br></div></div></blockquote></div></div></body></html>