This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake_qt_base.sh
38 lines (28 loc) · 1.54 KB
/
make_qt_base.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
source "set_env.sh"
#--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pushd "${CACHE}"
if [ "${Qt_INSTALL_BASE}" == "y" ] ; then
if ! mk_inst qtbase \
-${Qt_LICENSE} -confirm-license \
-sysroot "${SYSROOT}" \
-prefix "${Qt_DIR}" \
-opengl "${Qt_OPENGL}" \
-device "${Qt_DEVICE}" \
-device-option CROSS_COMPILE="${TOOLCHAIN_PREFIX}" \
-rpath \
-release \
-recheck \
-silent \
-qt-zlib \
-nomake tests \
-nomake examples \
-no-use-gold-linker \
-no-feature-getentropy \
; then
goto_exit 1; fi
fi
preAuthRoot && sudo chmod -R +r "${SYSROOT}${Qt_DIR}"
popd
#--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --
show_message "Qt ${Qt_VER} libs were successfully built"