-
Couldn't load subscription status.
- Fork 12
Guide to build qt statically in debian
Narmamatov Kadyrbek edited this page Feb 9, 2018
·
5 revisions
- sudo apt-get build-dep qt5-default
- sudo apt-get install libxcb-xinerama0-dev
-
First clone the top-level Qt 5 git repository:
- $ git clone https://code.qt.io/qt/qt5.git
-
Getting the submodule source code
- $ cd qt5
- $ perl init-repository #!/bin/bash
PREFIX=qt_static
./configure -prefix $PREFIX -release -opensource -static -confirm-license -nomake tools -nomake examples -nomake tests -qt-doubleconversion -no-glib -qt-pcre -qt-zlib -qt-harfbuzz -qt-xkbcommon-x11 -qt-libpng -qt-libjpeg -qt-assimp -silent -skip wayland
- Install qt libraries staticaly using script