Skip to content

Guide to build qt statically in debian

Erkin Matkaziev edited this page Feb 8, 2018 · 5 revisions

Install build-depends for any package:

  • sudo apt-get build-dep qt5-default
  • sudo apt-get install libxcb-xinerama0-dev

Getting the source code

  • First clone the top-level Qt 5 git repository:

$ git clone https://code.qt.io/qt/qt5.git

  • Then check out the target branch

$ cd qt5 $ git checkout 5.10

  • Getting the submodule source code

$ cd qt5 $ perl init-repository

  • Install qt libraries staticaly using script

reference

Clone this wiki locally