Skip to content

Instantly share code, notes, and snippets.

@Kakadu
Last active August 29, 2015 14:03
Show Gist options
  • Save Kakadu/111eeb35166076f8a666 to your computer and use it in GitHub Desktop.
Save Kakadu/111eeb35166076f8a666 to your computer and use it in GitHub Desktop.
Travis script to install qt.
#!/usr/bin/env bash
set +x +e
TAR=qt-everywhere-opensource-src-5.3.1
wget http://download.qt-project.org/archive/qt/5.3/5.3.1/single/$TAR.tar.xz
echo Unpacking....
tar -xf $TAR.tar.xz
cd $TAR
NOFB="-no-directfb -no-linuxfb -no-eglfs -no-kms"
SQL="-no-sql-mysql -no-sql-sqlite"
NOSSE="-no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2"
#CONF_PREFIX="-developer-build"
#CONF_PREFIX="-prefix $PWD/qtbase"
./configure $CONF_PREFIX -nomake examples -nomake tests -opensource -confirm-license \
-no-gtkstyle -no-glib -no-cups -no-nis \
$SQL $NOFB $NOSSE
make module-qtquickcontrols -j5
make install
#checkinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment