title: Compile Qt for Beaglebone Black
body: <p>I want to compile <em>Qt</em> for <em>Beaglebone Black</em> from source. </p>
  
  <p>I have the following: </p>
  
  <ol>
  <li>cross compiler: gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux</li>
  <li>qt-everywhere-opensource-src-5.3.1.  </li>
  </ol>
  
  <p>My host OS is Scientific Linux 6.3 32-bit.
  My problem is I have no idea what parameters I need to pass to <strong>./confiure</strong> tool.
  I have following clues:  </p>
  
  <ol>
  <li>-xplatform = qtbase/mkspecs/linux-arm-gnueabi-g++  </li>
  <li>-device = qtbase/mkspecs/devices/linux-beagleboard-g++</li>
  <li>-device-option CROSS_COMPILE=/home/anjanu/Downloads/gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux/bin/arm-linux-gnueabihf-g++</li>
  </ol>
  
  <p>Is this correct and what all is need to pass to ./configure and also what is sysroot option for?</p>