Skip to content

Instantly share code, notes, and snippets.

@zv1n
Created April 14, 2017 18:41
Show Gist options
  • Select an option

  • Save zv1n/f0de8e951198d232b77321172898b34c to your computer and use it in GitHub Desktop.

Select an option

Save zv1n/f0de8e951198d232b77321172898b34c to your computer and use it in GitHub Desktop.
Follow these steps to build a Qt 4.8.6 that is compatible with Surround SCM 2015.02
tar xf qt-everywhere-opensource-src-4.8.6.tar.gz
cd qt-everywhere-opensource-src-4.8.6/
# Grab the patch-set. Fixups for deprecation and some missing exports.
curl https://gist.githubusercontent.com/zv1n/5e1f19bcf5bd5d502d5737ce2a03ba05/raw/4de311e35214d1dfa0dd31262b28231b6745163b/qt_surroundscm_exports.patch > qt_486_scm.patch
patch -p1 < qt_486_scm.patch
# Disable phonon - it fails to build due to QTKit being remove from Frameworks in macOS 10.12.
./configure -no-phonon -no-phonon-backend -release
make -j9
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment