How To Build Qt5
How To Build Qt5
================
Synopsis
========
System requirements
------------------
Licensing:
----------
Opensource users:
<source_package> = qt-everywhere-opensource-src-<version>
<license> = -opensource
Commercial users:
<source_package> = qt-everywhere-enterprise-src-<version>
<license> = -commercial
Linux, Mac:
-----------
cd <path>/<source_package>
./configure -prefix $PWD/qtbase <license> -nomake tests
make -j 4
Windows:
--------
cd <path>\<source_package>
configure -prefix %CD%\qtbase <license> -nomake tests
nmake // jom // mingw32-make
The above examples will build whatever Qt5 modules have been enabled by
default in the build system.
This can save a lot of time if you are only interested in a subset of Qt5.
Hints
=====
The qt5_tool in qtrepotools has some more features which may be of interest.
Try `qt5_tool --help'.
After having built the documentation, you need to install it with the following
command:
make install_docs