# Note: depends on libX11 # Note: depends on libXext wget -c http://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz tar -xzf qt-everywhere-opensource-src-4.8.7.tar.gz cd qt-everywhere-opensource-src-4.8.7 # Erase blobs (they wouldn't be used anyway) rm -rf src/gui/mac/qt_menu.nib/keyedobjects.nib \ src/3rdparty/webkit/Examples/NetscapeCoreAnimationPlugin/Composition.qtz \ src/plugins/sqldrivers/sqlite_symbian/SQLite3_v9.2.zip \ configure.exe \ src/3rdparty/webkit/WebKitLibraries \ lib/fonts/*.qpf true > src/3rdparty/webkit/Source/WebKit/qt/tests/MIMESniffing/resources/application_x-rar-compressed true > src/3rdparty/webkit/Source/WebKit/qt/tests/MIMESniffing/resources/application_zip # yes to "accept" the GPL (it only applies to sharing, not downloading/building, so it doesn't matter here) yes | CXXFLAGS="-std=c++98" ./configure --prefix="/usr" -opensource -demosdir "/usr/libexec/qt4-demos" -examplesdir "/usr/libexec/qt4-examples" make # Doesn't mind -j# make install