tce-load -i Xorg-7.7-3d-dev sqlite3-dev libmng-dev libpng-dev tiff-dev cups-dev pulseaudio-dev perl5 icu-dev gst-plugins-base-dev libwebp6-dev mtdev-dev ruby-dev geoclue-dev libpci-dev nss-dev git libxkbcommon-dev gperf libgcrypt2-dev libgnome-keyring-dev libinput-dev harfbuzz-icu-dev wayland-protocols jasper-dev ibus-dev pcre2-dev gzip cd qt-everywhere-opensource-src-5.9.0 edit qtbase/configure #!/bin/sh -> #!/bin/bash CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe" ./configure -prefix /usr/local -bindir /usr/local/bin -headerdir /usr/local/include/qt5 -plugindir /usr/local/lib/qt5/plugins -libexecdir /usr/local/lib/qt5 -importdir /usr/local/lib/qt5/imports -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 -qmldir /usr/local/lib/qt5/qml -confirm-license -opensource -release -dbus-linked -openssl-linked -system-freetype -system-harfbuzz -system-libjpeg -system-libpng -system-pcre -system-sqlite -system-xkbcommon-x11 -system-zlib -nomake examples -optimized-qmake -no-use-gold-linker -no-rpath [-ltcg] [fails with gold-linker] edit /usr/src/qt-everywhere-opensource-src-5.4.1/qtbase/mkspecs/common/gcc-base.conf O2/O3 -> Os QMAKE_CFLAGS += -mtune=generic -pipe time make -j5 [4h 55m 47s] [make -j5 module-qtwebkit] sudo make install find /usr/local/ -name \*.prl -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; 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) Configuration: sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header shared release c++11 c++14 c++1z concurrent dbus mremap reduce_exports reduce_relocations release_tools stl Build options: Mode ................................... release; optimized tools Optimize release build for size ........ no Building shared libraries .............. yes Using C++ standard ..................... C++1z Using gold linker ...................... no Using new DTAGS ........................ yes Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 F16C AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI Build parts ............................ libs tools Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... yes Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... yes QML debugging .......................... yes udev ................................... yes Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... yes iconv .................................. no ICU .................................... yes Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... yes Qt Network: getaddrinfo() .......................... yes getifaddrs() ........................... yes IPv6 ifname ............................ yes libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ yes SCTP ................................... no Use system proxies ..................... yes Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... no PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... yes TDS (Sybase) ........................... no Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ yes HarfBuzz ............................... yes Using system HarfBuzz ................ yes Fontconfig ............................. yes Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... yes PNG .................................. yes Using system libpng ................ yes EGL .................................... yes OpenVG ................................. no OpenGL: Desktop OpenGL ....................... yes OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no Session Management ..................... yes Features used by QPA backends: evdev .................................. yes libinput ............................... yes mtdev .................................. yes tslib .................................. no xkbcommon-evdev ........................ yes QPA backends: DirectFB ............................... no EGLFS .................................. yes EGLFS details: EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS EGLDevice ...................... yes EGLFS GBM ............................ yes EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGL on X11 ........................... yes LinuxFB ................................ yes VNC .................................... yes Mir client ............................. no X11: Using system-provided XCB libraries .. yes EGL on X11 ........................... yes Xinput2 .............................. yes XCB XKB .............................. yes XLib ................................. yes XCB render ........................... yes XCB GLX .............................. yes XCB Xlib ............................. yes Using system-provided xkbcommon ...... yes Qt Widgets: GTK+ ................................... yes Styles ................................. Fusion Windows Qt PrintSupport: CUPS ................................... yes Qt SerialBus: Socket CAN ............................. yes Socket CAN FD .......................... yes QtXmlPatterns: XML schema support ..................... yes Qt QML: QML interpreter ........................ yes QML network support .................... yes Qt Quick: Direct3D 12 ............................ no AnimatedImage item ..................... yes Canvas item ............................ yes Support for Quick Designer ............. yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Gamepad: SDL2 ................................... no Qt 3D: Assimp ................................. yes System Assimp .......................... no Output Qt3D Job traces ................. no Output Qt3D GL traces .................. no Qt 3D GeometryLoaders: Autodesk FBX ........................... no Qt Wayland Drivers: EGL .................................... yes Raspberry Pi ........................... no XComposite EGL ......................... yes XComposite GLX ......................... yes DRM EGL ................................ yes libhybris EGL .......................... no Qt Wayland Client ........................ yes Qt Wayland Compositor .................... yes Qt Bluetooth: BlueZ .................................. yes BlueZ Low Energy ....................... yes Linux Crypto API ....................... yes Qt Sensors: sensorfw ............................... no Qt Multimedia: ALSA ................................... yes GStreamer 1.0 .......................... yes GStreamer 0.10 ......................... no Video for Linux ........................ yes OpenAL ................................. no PulseAudio ............................. yes Resource Policy (libresourceqt5) ....... no Windows Audio Services ................. no DirectShow ............................. no Windows Media Foundation ............... no Qt Quick Controls 2: Styles ................................. Default Material Universal Qt Quick Templates 2: Hover support .......................... yes Qt Location: Gypsy GPS Daemon ....................... no WinRT Geolocation API .................. no Qt WebEngine: Embedded build ......................... no Pepper Plugins ......................... yes Printing and PDF ....................... yes Proprietary Codecs ..................... no Spellchecker ........................... yes WebRTC ................................. yes Using system ninja ..................... no ALSA ................................... yes PulseAudio ............................. yes System libraries: ICU .................................. no libwebp and libwebpdemux ............. yes Opus ................................. yes ffmpeg ............................... no Note: Also available for Linux: linux-clang linux-icc Note: -optimized-tools is not useful in -release mode. Note: Dropped compiler flags '-pthread' when detecting library 'glib'. Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked Note: Dropped compiler flags '-pthread' when detecting library 'gtk3'. Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer'. Note: Dropped compiler flags '-pthread' when detecting library 'gstreamer_app'. Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into '/usr/local'. Prior to reconfiguration, make sure you remove any leftovers from the previous build.