Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 1.31 KB

install_qt.md

File metadata and controls

23 lines (23 loc) · 1.31 KB

qt 5.12 build from source at RHEL8

  • Getting source. From windows or Linux
    • git clone git://code.qt.io/qt/qt5.git
    • cd qt5
    • git checkout 5.12
    • git submodule update --init --recursive
  • Prerequisite
  • source build
    • mkdir build
    • cd buidl
    • ../qt5/configure -developer-build -opensource -nomake examples -nomake tests -prefix /opt/qt/5.12 -fontconfig -feature-freetype -system-freetype FREETYPE_INCDIR=/usr/include/freetype2
    • make -j 40 all; make install
      • After installation, check qt/5.12/plugins/platforms. libqwayland-generic.so and libqxcb.so are necessary to visualize on RHEL8.
  • Necessary rpm for other qt5 applications
    • yum install libicu-devel libxkbcommon-devel # for texmaker
    • yum install libpng-devel cairo-devel # for IPE