Created
July 5, 2015 18:50
-
-
Save Wohlstand/23473d3b754822849da4 to your computer and use it in GitHub Desktop.
Don't build buggy jasper (jp2) from Qt sources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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