Nesis III User’s Manual
14.1
The Qt Library
2. Extract
QtLibrarySource.tar.bz2
.
3. Enter folder
qt5base-5.6.0/
.
4. Configure Qt5 with following command and replace
{DIR}
with the
folder, where the toolchain was extracted:
# ./configure -opensource -shared -no-static -no-sql-mysql -no-sql-psql \
-widgets
-gui -opengl es2 -eglfs -no-openssl -no-gstreamer \
-prefix {DIR}/QT -no-rpath -nomake tests -device buildroot -no-xcb \
-no-cups -no-nis -no-gtkstyle -no-pulseaudio -no-xcb-xlib -no-harfbuzz \
-no-libproxy -no-icu -no-xcb -device-option \
CROSS_COMPILE={DIR}/host.a20/usr/bin/arm-buildroot-linux-gnueabihf- \
-sysroot {DIR}/host.a20/usr/arm-buildroot-linux-gnueabihf/sysroot
5. Compile library with:
# make
6. Install library with:
# make install
Library files are installed into folder:
{DIR}/host.a20/usr/arm-buildroot-linux-gnueabihf/sysroot/QT
14.1.4
Installing Modified Qt Library
The LGPLv3 license allows you to freely adapt and change the source code
according to your needs.
1. Use your favorite source code editor to edit and modify the Qt library
source code.
2. Compile the changes using the toolchain (see section 14.1.3) and produce
the binaries.
3. Copy the binaries to a USB memory stick. Put them into the USB stick
root folder.
4. Insert the USB stick into Nesis.
5. Switch to the
Options
page and then select the
Info
icon.
132
©
Kanardia
2018-2022