Skip to content

Instantly share code, notes, and snippets.

@fredrikaverpil
Last active June 27, 2016 21:06
Show Gist options
  • Save fredrikaverpil/58ec9d687108a60f74ad5f2926ad6339 to your computer and use it in GitHub Desktop.
Save fredrikaverpil/58ec9d687108a60f74ad5f2926ad6339 to your computer and use it in GitHub Desktop.
Compile Qt4 and PyQt4 on Ubuntu 14.04
apt-get update
apt-get install wget make g++ libxext-dev
wget https://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz
cd qt-everywhere-opensource-src-4.8.6
# Compilation options: http://doc.qt.io/qt-4.8/configure-options.html#cross-platform-options
./configure -fast
# Qt is now configured for building. Just run 'make'.
# Once everything is built, you must run 'make install'.
# Qt will be installed into /usr/local/Trolltech/Qt-4.8.6
# To reconfigure, run 'make confclean' and 'configure'.
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment