The tqtinterface package includes libraries that abstract the underlying Qt system from the actual Trinity code, allowing easy, complete upgrades to new versions of Qt.
This package is known to build and work properly using an LFS-7.0 platform.
Download (HTTP): http://anduin.linuxfromscratch.org/sources/trinity/tqtinterface-3.5.13.tar.gz
Download (FTP): ftp://anduin.linuxfromscratch.org/trinity/tqtinterface-3.5.13.tar.gz
Download MD5 sum: d54cc9fd0b35555298efd17c32471a2b
Download size: 1 MB
Estimated disk space required: 10 MB
Estimated build time: 0.6 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tqtinterface
When extracted, the tqtinterfac
tar file expands into the directory dependencies/tqtinterface
.
Install tqtinterface by running the following commands:
sed -i -e '/PKG/s@/usr@${EXEC_INSTALL_PREFIX}@' CMakeLists.txt && BUILD=/tmp/tqt && TQT=`pwd` && rm -rf $BUILD && mkdir -p $BUILD && cd $BUILD && cmake $TQT \ -DCMAKE_INSTALL_PREFIX=$TRINITY_PREFIX \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 && unset TQT BUILD && make
This package does not come with a test suite.
Now, as the root
user:
make install
sed ...
CMakeLists.txt
: This command changes the location
of tqt.pc
to the $TRINITY_PREFIX
directory hierarchy.
TQT=`pwd`
: This
command saves the location of the source code.
rm -rf $BUIL; mkdir -p $BUILD; cd
$BUILD
: The developers strongly recommend building
Trinity components in a directory separate from the source code.
These commands ensure a clean starting location for the build
process.
-QT_VERSION=3
: This option is required
for this package.
Last updated on 2011-03-07 22:45:56 -0600