Files-> Open Projects-> Directory To Play/build_android.If you install Qt from their official website, your CMAKE_PREFIX_PATH might look like this: ~/Qt5.6.0/5.6/gcc_64/ Building for Androidīuilding for Android has been tested on macOS and UNIX environments.Īndroid can be built using Android Studio, or Gradle: Note: CMAKE_PREFIX_PATH refers to the Qt directory containing bin/libs folder. The above example uses a backport repo to install Qt5.6 on Ubuntu Trusty.
G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/opt/qt56/Ĭmake. # Not specifying -G will automatically pick MakefilesĬmake.