Skip to content

Instantly share code, notes, and snippets.

@Wohlstand
Created July 5, 2015 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wohlstand/23473d3b754822849da4 to your computer and use it in GitHub Desktop.
Save Wohlstand/23473d3b754822849da4 to your computer and use it in GitHub Desktop.
Don't build buggy jasper (jp2) from Qt sources
#!/bin/bash
QTP=qt-everywhere-opensource-src-5.5.0
sed -i 's/qtCompileTest(jasper)/#qtCompileTest(jasper)/g' $QTP'/qtimageformats/qtimageformats.pro'
sed -i 's/jp2 \\/#jp2 \\/g' $QTP'/qtimageformats/src/plugins/imageformats/imageformats.pro'
rm -f $QTP'/qtimageformats/src/3rdparty/jasper.pri'
rm -Rf $QTP'/qtimageformats/src/3rdparty/jasper'
read -n 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment