tce-load -i Xorg-7.7-3d-dev sqlite3-dev dbus-dev openssl-1.0.0-dev alsa-dev glib2-dev libmng-dev libpng-dev tiff-dev cups-dev pulseaudio-dev perl5 icu-dev gst-plugins-base-dev libwebp-dev mtdev-dev ruby geoclue-dev gtk2-dev libpci-dev nss-dev git cd qt-everywhere-opensource-src-5.4.1 sed -i 's/GMutexLocker locker/WebCore::&/' qtwebkit/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp QT5LINK=/usr/local CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe" ./configure -prefix /usr/local -bindir /usr/local/bin -plugindir /usr/local/lib/qt5/plugins -importdir /usr/local/lib/qt5/imports -headerdir /usr/local/include/qt5 -datadir /usr/local/share/qt5 -sysconfdir /usr/local/etc/xdg -docdir /usr/local/share/doc/qt5 -examplesdir /usr/local/share/doc/qt5/examples -translationdir /usr/local/share/qt5/translations -confirm-license -opensource -release -dbus-linked -openssl-linked -system-sqlite -nomake examples -no-nis -optimized-qmake -system-harfbuzz -skip qtwebengine find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; time make -j5 [35m 30.56s] find . -name "*.pc" -exec perl -pi -e "s, -L$PWD/?\S+,,g" {} \; sudo make install sed -e "s:$PWD/qtbase:/usr/local/lib/qt5:g" -i /usr/local/lib/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri find /usr/local/lib/libQt5*.prl -exec sed -i -r '/^QMAKE_PRL_BUILD_DIR/d;s/(QMAKE_PRL_LIBS =).*/\1/' {} \; sudo install -dm755 /usr/local/share/pixmaps sudo install -Dm644 qttools/src/assistant/assistant/images/assistant-128.png /usr/local/share/pixmaps/assistant-qt5.png sudo install -Dm644 qttools/src/designer/src/designer/images/designer.png /usr/local/share/pixmaps/designer-qt5.png sudo install -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png /usr/local/share/pixmaps/linguist-qt5.png sudo install -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png /usr/local/share/pixmaps/qdbusviewer-qt5.png Configure summary Build type: linux-g++ (x86_64, CPU features: mmx sse sse2) Platform notes: - Also available for Linux: linux-kcc linux-icc linux-cxx Build options: Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend avx avx2 c++11 clock-gettime clock-monotonic compile_examples concurrent cups dbus dbus-linked egl egl_x11 eglfs evdev eventfd fontconfig full-config getaddrinfo getifaddrs glib gtk2 gtkstyle iconv icu inotify ipv6ifname kms large-config largefile libudev linuxfb medium-config minimal-config mremap mtdev opengl openssl-linked openvg png posix_fallocate precompile_header pulseaudio qpa qpa reduce_exports reduce_relocations release rpath shared small-config sse2 sse3 sse4_1 sse4_2 ssse3 system-freetype system-harfbuzz system-jpeg system-png system-sqlite system-zlib xcb xcb-glx xcb-plugin xcb-render xcb-sm xcb-xlib xinput2 xkbcommon-qt xlib xrender Build parts ............ libs tools Mode ................... release Using C++11 ............ yes Using gold linker....... no Using PCH .............. yes Target compiler supports: SSE2/SSE3/SSSE3 ...... yes/yes/yes SSE4.1/SSE4.2 ........ yes/yes AVX/AVX2 ............. yes/yes Qt modules and options: Qt D-Bus ............... yes (linked to dbus-1) Qt Concurrent .......... yes Qt GUI ................. yes Qt Widgets ............. yes Large File ............. yes QML debugging .......... yes Use system proxies ..... no Support enabled for: Accessibility .......... yes ALSA ................... yes CUPS ................... yes Evdev .................. yes FontConfig ............. yes FreeType ............... yes (system library) Glib ................... yes GTK theme .............. yes HarfBuzz ............... yes (system library) Iconv .................. yes ICU .................... yes Image formats: GIF .................. yes (plugin, using bundled copy) JPEG ................. yes (plugin, using system library) PNG .................. yes (in QtGui, using system library) journald ............... no mtdev .................. yes (system library) Networking: getaddrinfo .......... yes getifaddrs ........... yes IPv6 ifname .......... yes OpenSSL .............. yes (linked to the libraries) NIS .................... no OpenGL / OpenVG: EGL .................. yes OpenGL ............... desktop OpenVG ............... yes-auto PCRE ................... system pkg-config ............. yes PulseAudio ............. yes QPA backends: DirectFB ............. no EGLFS ................ yes KMS .................. yes LinuxFB .............. yes XCB .................. yes (system library) EGL on X ........... yes GLX ................ yes MIT-SHM ............ yes Xcb-Xlib ........... yes Xcursor ............ yes (loaded at runtime) Xfixes ............. yes (loaded at runtime) Xi ................. no Xi2 ................ yes Xinerama ........... yes (loaded at runtime) Xrandr ............. yes (loaded at runtime) Xrender ............ yes XKB ................ yes XShape ............. yes XSync .............. yes XVideo ............. yes Session management ..... yes SQL drivers: DB2 .................. no InterBase ............ no MySQL ................ no OCI .................. no ODBC ................. no PostgreSQL ........... no SQLite 2 ............. no SQLite ............... yes (plugin, using system library) TDS .................. no udev ................... yes xkbcommon .............. yes (bundled copy, XKB config root: /usr/local/share/X11/xkb) zlib ................... yes (system library)