DevicesBroadcom97425BCM7425-Qt5-eglfs
Jump to navigation
Jump to search
Building AppLibs/RefSW for Qt
- Locate document named “BroadcomReferencePlatformSetup.pdf” (Usually this will be inside a tar ball named on the lines of refsw_release_<chip-name>_<date>.tgz)
- Follow the instructions in “BroadcomReferencePlatformSetup.pdf” to setup the Linux build machine
- Locate document named “AppLibsInstallationBuildGuide.pdf” (Usually this will be inside a tar ball named on the lines of applibs_release_<date>.tgz)
- Follow the instructions in “AppLibsInstallationBuildGuide.pdf” to build Applibs
Qt5 eglfs/QPA
Building Qt 5
- Obtain qt-5.0.0 from [[[Building Qt 5 from Git|http://wiki.qt.io/Building_Qt_5_from_Git]] git] (follow instructions in “Getting the source code”)
- Obtain 7425 specific files from qt-platform-mkspecs git (look for folder “5.0”)
- Copy folder named “linux-nxs-mipsel-uclibc-g++” from 7425 specific repo to <qt-5.0.0-git>/qtbase/mkspecs
- Set following environment variables in the shell before configuring/building Qt,
- BCM_APPLIBS_PATH=<path-till-Applibs-folder>/AppLibs
- BCM_NEXUS_PATH=<path-till-Applibs-folder>/nexus
- DEBUG=n
- Apply patch “7425-eglfs.patch” from 7425 specific repo to <qt-5.0.0-git>/src
- Configure Qt in qtbase folder as,
- After the build succeeds set following environment variables before building any opengl Qt Apps,
- NOTE: Before executing any Qt applications on target copy “qt-installs/qt5” on target at usr/local on target file system