diff options
author | Denis Kozadaev <denis@dilos.org> | 2019-08-25 21:13:36 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-09-10 18:16:36 +0200 |
commit | 4d80a99d10150a4098ff08654050f105d3ca1a6e (patch) | |
tree | cc11c5959719b3c0b62329fce23e436f93dd979f /dilos/dependencies/tqt3/debian/maintain | |
parent | 6c4efe6bcf57d1f36aa1658741662bff8ecc9103 (diff) | |
download | tde-packaging-4d80a99d10150a4098ff08654050f105d3ca1a6e.tar.gz tde-packaging-4d80a99d10150a4098ff08654050f105d3ca1a6e.zip |
DilOS: Add package tqt3
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 9e40aca75e29bf5202146a6b33d0d0723b6a3f89)
Diffstat (limited to 'dilos/dependencies/tqt3/debian/maintain')
-rw-r--r-- | dilos/dependencies/tqt3/debian/maintain/build-examples.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dilos/dependencies/tqt3/debian/maintain/build-examples.sh b/dilos/dependencies/tqt3/debian/maintain/build-examples.sh new file mode 100644 index 000000000..ad98ad5be --- /dev/null +++ b/dilos/dependencies/tqt3/debian/maintain/build-examples.sh @@ -0,0 +1,36 @@ +#!/bin/sh + +BUILDDIR=$PWD +export QTDIR=/usr/share/tqt3 + +# first copy over the libtqt-mt.so build configuration of .qmake.cache +cp /usr/share/tqt3/.qmake.cache ./.qmake.cache + +# Now compile the examples. The themes example +# won't work since ntqconfig.h is not really correct with the +# ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue +cd examples; qmake -o Makefile examples.pro; make -k + +# Now compile the tutorial. +cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make + +# Then the designer examples. +cd $BUILDDIR/tools/designer/examples +for a in `find . -type d -maxdepth 1 -mindepth 1`; do + cd $a && qmake -o Makefile $a.pro; make; cd ..; +done + +# There is a bigger sql example in book/ with more subdirectories: +cd book +for a in `find . -type d -maxdepth 1 -mindepth 1`; do + cd $a && qmake -o Makefile $a.pro; make; cd ..; +done + +# Finally, build the linguist tutorials: +cd $BUILDDIR/tools/linguist/tutorial +for a in `find . -type d -maxdepth 1 -mindepth 1`; do + cd $a && qmake -o Makefile $a.pro; make; cd ..; +done + +# Return to the build directory +cd $BUILDDIR |