build your Qt from sources automatically
Script provides:
- downloading and packing (for future re-usage) needed sources
- building from sources
- QtBase
- QtMultimedia
- QtDeclarative
- QtQuick2
- QtSerialport
- install all needed dependencies (bash, wget, git, opengl, gstreamer)
- set your toolchain (example you can see in LIMaker)
- be sure that you have a free space on your local storage
- run
git clone --recursive https://github.com/r3d9u11/QtMaker.git
- checkout needed branch (according to needed version of Qt)
- check configuration in
make-all-defs
- run
make-all
- wait until process will be completed
CACHE
- directory which contains Qt sources and other packagesSYSROOT
- target root filesystemPASS
- password to grant root privileges on host machineQt_VER
- numeric version of QtQt_DIR
- Qt directory on target root filesystemQt_DEVICE
- target device (fromqtbase/mkspecs/devices
)Qt_ARCH
- target hardware architecture (usually uses value fromARCH
)Qt_ACCEPT_CONFIG
- autoaccept Qt configurationa
- ask everytime (when you want to check Qt configuration)y
- always accept configuration (without your review)n
- configuration will not be accepted, installation process will be terminated on first package.
Qt_TEST
- directory with sources of test applicationsQt_EXPORT
- result directory with compiled test applications (will be exported to targer root filesystem)Qt_SDK
- copy of Qt binaries on the host machine (for applications development)
make-all
- cross-compiles Qt libs and test-applications and installs them to destication root filesystemmake
- compiles and installs Qt libsget
- downloads Qt libssetEnv
- sets Qt variablesexport
- compiles Qt test-applications and create the export directory with binary filesdeploy2sysroot
- deploys the export directory with test-applciations to the destination root filesystemcreateSDK
- copies the result directory with Qt binaries to the host machine (for application development)