sudo apt-get install libxcb1-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-icccm4-dev libxcb-render-util0-dev libxcb-util0-dev libxrender-dev libasound-dev libpulse-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-randr0-dev libx11-xcb-dev libffi-devscreengit clone git://code.qt.io/qt/qt5.git qt5.5.1cd qt5.5.1git checkout 5.5perl init-repository --module-subset=qtbase,qtserialport, qtimageformats,qtscript,qtdeclarativegit checkout v5.5.1cd qtimageformats && git checkout v5.5.1 && cd ..cd qtbase && git checkout v5.5.1 && cd ..cd qtscript && git checkout v5.5.1 && cd ..cd qtdeclarative && git checkout v5.5.1 && cd ..cd qtserialport && git checkout v5.5.1 && cd .../configure -release -opensource -confirm-license -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-harfbuzz -qt-pcre -qt-xcb -qt-xkbcommon-x11 -no-opengl -static -nomake examples -nomake tests -prefix /usr/local/qt5 |& tee output_configuremake -j4 |& tee output_makesudo make -j4 install |& tee output_make_install
qt5-qmakeqt5-defaultqtcreatorlibqtcore5 qmake