Reading List

The Selfish Gene
The Psychopath Test: A Journey Through the Madness Industry
Bad Science
The Feynman Lectures on Physics
The Theory of Everything: The Origin and Fate of the Universe


ifknot's favorite books »

Monday 21 September 2015

Qt Creator Android Kit Setup Made Easy With Homebrew Formulas


Getting toolchain components to hold hands.

Under OS X getting Qt Creator to cross compile  to Android requires a number of steps to install the necessary tools.

Using Homebrew Formulas with Homebrew makes the process easier under OS X:



  1. The required Android SDK and Android NDK can be installed together via Hombrew by installing NDK first and since it has the SDK as a dependency this also gets installed automagically:

    http://brewformulas.org/AndroidNdk

    brew install android-ndk

    Both can now be found in

    /usr/local/opt/

    After installing these tools, update the Android SDK to get the API and tools packages required for development. You can update the SDK using the android tool that comes with the SDK Tools package:

    ./android update sdk
  2. Next on the list is the Apache Ant Java library and command-line tool that help building software:

    http://brewformulas.org/Ant

    brew install ant

    Ant can now be found in

    /usr/local/opt/
  3. Unfortunately the Java formula is an external dependency which means that Homebrew will not install it.

    http://www.oracle.com/technetwork/java/javase/overview/index.html
  4. Complete the necessary Android Configurations:

    Preferences... 





No comments:

Post a Comment