Qt toolchain images

  • qt:5.4-desktop
  • qt:5.4-android
  • qt:5.7-desktop
  • qt:5.7-android
  • qt:5.9-desktop
  • qt:5.9-android
  • qt:5.10-desktop
  • qt:5.10-android

Usage:

  1. Install required specific dependencies:
sudo apt-get -qq update && sudo apt-get install -qq -y <packages>
  1. Clone repo with source
git clone --recursive <repo> ~/src
  1. Make build dir & cd into
mkdir ~/build && cd ~/build
  1. Run qmake
qmake -r ~/src
  1. Run make
make -j4
  1. Run make install
make install INSTALL_ROOT=$HOME/dist
  1. Android: run apk creation
androiddeployqt --input ~/src/<android json> --output ~/dist --deployment bundled --gradle --release

Links

Used extract-qt script from https://github.com/benlau/qtci/blob/master/bin/extract-qt-installer