<?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[Can&#x27;t build Qt 5.1 (cross-compiling Android) for Mac]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">I can't build latest Qt from Git for Mac with this configure:<br />
@<br />
configure -prefix /usr/local/Digia/Qt5.1-rc1-android -release -shared -opensource -c++11 -nomake examples -nomake tests -nomake tools -confirm-license -developer-build -xplatform android-g++ -android-ndk /usr/local/Android/ndk -android-sdk /usr/local/Android/sdk -android-ndk-host darwin-x86_64 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples<br />
@</p>
<p dir="auto">Instead of it I get this error in my error log:<br />
@<br />
Creating qmake...<br />
Running configuration tests...<br />
Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.<br />
Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.</p>
<p dir="auto">Could not determine the target architecture!<br />
Turn on verbose messaging (-v) to see the final report.</p>
<p dir="auto">Could not determine the host architecture!<br />
Turn on verbose messaging (-v) to see the final report.<br />
STL functionality check failed! Cannot build Qt with this STL library.<br />
@</p>
<p dir="auto">And, of course I use latest g++ and gcc in PATH.</p>
]]></description><link>https://forum.qt.io/topic/28710/can-t-build-qt-5-1-cross-compiling-android-for-mac</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 05:06:59 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/28710.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Jun 2013 08:22:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t build Qt 5.1 (cross-compiling Android) for Mac on Sat, 27 Sep 2014 14:18:34 GMT]]></title><description><![CDATA[<p dir="auto">adding -android-ndk-platform android-19 (android-19 being an installed platforms in you android-ndk/platforms folder) solved this issue for me.</p>
<p dir="auto">it seems the default ndk-platform used is no longer supplied with current editions of the android ndk for mac os x</p>
]]></description><link>https://forum.qt.io/post/201573</link><guid isPermaLink="true">https://forum.qt.io/post/201573</guid><dc:creator><![CDATA[tk.fs]]></dc:creator><pubDate>Sat, 27 Sep 2014 14:18:34 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t build Qt 5.1 (cross-compiling Android) for Mac on Wed, 26 Jun 2013 18:33:48 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="SGaist" date="1372246583"]Hi,</p>
<p dir="auto">May I suggest that you modify your thread's title ? This one doesn't imply that your are trying to cross compile for Android thus you'll might miss some help.[/quote]</p>
<p dir="auto">done.</p>
]]></description><link>https://forum.qt.io/post/184266</link><guid isPermaLink="true">https://forum.qt.io/post/184266</guid><dc:creator><![CDATA[tucnak]]></dc:creator><pubDate>Wed, 26 Jun 2013 18:33:48 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t build Qt 5.1 (cross-compiling Android) for Mac on Wed, 26 Jun 2013 11:36:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">May I suggest that you modify your thread's title ? This one doesn't imply that your are trying to cross compile for Android thus you'll might miss some help.</p>
]]></description><link>https://forum.qt.io/post/184213</link><guid isPermaLink="true">https://forum.qt.io/post/184213</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 26 Jun 2013 11:36:23 GMT</pubDate></item></channel></rss>