<p>Thanks. New to me but I will investigate it.</p>
<div class="gmail_quote">On Nov 9, 2011 4:57 PM, "Chris Browet" <<a href="mailto:cbro@semperpax.com">cbro@semperpax.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I'm using the necessitas SDK on Windows and I have a (known) issue with "DESTDIR" in the makefiles.<br><br>I end up with something like:<br>DESTDIR = ..\..\imports\Qt\labs\components.1.1\<br>
TARGET = libqtcomponentsplugin_1_1d.so<br><br>which is no good, because the first line ending backslash is interpreted as a line continuation, and the TARGET variable is not evaluated.<br><br>Normally, on windows/mingw, the MINGW qmake generator is used, which mitigates the issue by apeending a comment:<br>
<br>In qmake\generators\win32\winmakefile.cpp, l649<br><br> // The comment is important to maintain variable compatibility with Unix<br> // Makefiles, while not interpreting a trailing-slash as a linebreak<br> t << "DESTDIR = " << escapeFilePath(destDir) << " #avoid trailing-slash linebreak" << endl;<br>
<br>Resulting in:<br>DESTDIR = ..\..\imports\Qt\labs\components.1.1\ #avoid trailing-slash linebreak<br>TARGET = libqtcomponentsplugin_1_1d.so<br><br>Now, if I'm correct, the UNIX generator must be used for Android.<br>
<br>Could it be possible to do the same thing for the UNIX generator on Android, please. It won't break anything but would solve my problem compiling on windows.<br><br>- Chris -<br><br>P.S. before alpha3, I actually put MSYS in the path, so the UNIX generator was actually usable. Now, it seems the "-win32" flags is forced in Qt creator, so this solution probably doesn't work (I haven't retried it).<br>
<br><br><br><br>
<br>_______________________________________________<br>
Necessitas-devel mailing list<br>
<a 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></blockquote></div>