Created
July 5, 2015 18:48
-
-
Save Wohlstand/30a3f2410e5781c825fb to your computer and use it in GitHub Desktop.
Build static Qt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Hot to build static Qt on Linux | |
#For Linux Mint | |
./configure -static -release -nomake examples -nomake tools -prefix ~/Qt/Qt-5.5_static -qt-xcb -qt-libpng -no-libjpeg -qt-zlib -qt-pcre -gtkstyle -opensource -confirm-license -gtkstyle -opengl -qt-freetype -c++11 | |
make | |
make install | |
#For CentOS | |
./configure -static -release -nomake examples -nomake tools -no-compile-examples -prefix ~/Qt/Qt-5.5_static -qt-xcb -qt-xkbcommon -qt-libpng -qt-zlib -qt-pcre -gtkstyle -opensource -confirm-license -gtkstyle -opengl -qt-freetype -c++11 | |
#for Mac OS X: | |
./configure -static -release -nomake examples -nomake tools -prefix ~/Qt/5.5_static -qt-libpng -no-libjpeg -qt-zlib -qt-pcre -gtkstyle -opensource -confirm-license -gtkstyle -opengl -qt-freetype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment